I am not good at C++ at all
This commit is contained in:
parent
4a4b829cfc
commit
63417bc975
3 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ class FilePath;
|
|||
namespace mate {
|
||||
class Arguments;
|
||||
}
|
||||
|
||||
|
||||
namespace atom {
|
||||
|
||||
namespace api {
|
||||
|
|
|
@ -173,7 +173,7 @@ ProcessSingleton::NotifyResult Browser::GetSingleInstanceResult() {
|
|||
return process_notify_result_;
|
||||
}
|
||||
|
||||
void Browser::SetSingleInstanceCallback(const ProcessSingleton::NotificationCallback& callback) {
|
||||
void Browser::SetSingleInstanceCallback(ProcessSingleton::NotificationCallback callback) {
|
||||
process_notify_callback_ = callback;
|
||||
process_notify_callback_set_ = true;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ class Browser : public WindowListObserver {
|
|||
void ClearRecentDocuments();
|
||||
|
||||
ProcessSingleton::NotifyResult GetSingleInstanceResult();
|
||||
void SetSingleInstanceCallback(const ProcessSingleton::NotificationCallback& callback);
|
||||
void SetSingleInstanceCallback(ProcessSingleton::NotificationCallback callback);
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
// Bounce the dock icon.
|
||||
|
@ -176,7 +176,7 @@ class Browser : public WindowListObserver {
|
|||
|
||||
scoped_ptr<AtomProcessSingleton> process_singleton_;
|
||||
ProcessSingleton::NotifyResult process_notify_result_;
|
||||
const ProcessSingleton::NotificationCallback process_notify_callback_;
|
||||
ProcessSingleton::NotificationCallback process_notify_callback_;
|
||||
bool process_notify_callback_set_;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
|
|
Loading…
Reference in a new issue