single instance checker addition for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,16 @@ public:
|
||||
|
||||
// is another copy of this program already running?
|
||||
bool IsAnotherRunning() const;
|
||||
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// Activates Previous Instance if a window whose Title contains the search string is found
|
||||
bool ActivatePrevInstance(const wxString & sSearch);
|
||||
|
||||
// Activates Previous Instance and passes CommandLine to wxCommandLineEvent
|
||||
// if a window with matching Title is found
|
||||
bool PassCommandLineToPrevInstance(const wxString & sSearch, const wxString & sCmdLine);
|
||||
#endif
|
||||
|
||||
// dtor is not virtual, this class is not meant to be used polymorphically
|
||||
~wxSingleInstanceChecker();
|
||||
|
||||
|
Reference in New Issue
Block a user