X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..09fe7dc6726a0804558646c0625da7a6483da5fd:/include/wx/snglinst.h diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h index b940f3dd12..da34c90e5a 100644 --- a/include/wx/snglinst.h +++ b/include/wx/snglinst.h @@ -13,17 +13,13 @@ #ifndef _WX_SNGLINST_H_ #define _WX_SNGLINST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "snglinst.h" -#endif - #if wxUSE_SNGLINST_CHECKER // ---------------------------------------------------------------------------- // wxSingleInstanceChecker // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxSingleInstanceChecker +class WXDLLIMPEXP_BASE wxSingleInstanceChecker { public: // default ctor, use Create() after it @@ -44,7 +40,7 @@ public: // path is optional and is ignored under Win32 and used as the directory to // create the lock file in under Unix (default is wxGetHomeDir()) // - // returns FALSE if initialization failed, it doesn't mean that another + // returns false if initialization failed, it doesn't mean that another // instance is running - use IsAnotherRunning() to check it bool Create(const wxString& name, const wxString& path = wxEmptyString); @@ -59,7 +55,9 @@ private: void Init() { m_impl = NULL; } // the implementation details (platform specific) - class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl; + class WXDLLIMPEXP_BASE wxSingleInstanceCheckerImpl *m_impl; + + DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker) }; #endif // wxUSE_SNGLINST_CHECKER