#ifndef _WX_SNGLINST_H_
#define _WX_SNGLINST_H_
-#ifdef __GNUG__
- #pragma interface "snglinst.h"
-#endif
-
#if wxUSE_SNGLINST_CHECKER
// ----------------------------------------------------------------------------
// wxSingleInstanceChecker
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxSingleInstanceChecker
+class WXDLLIMPEXP_BASE wxSingleInstanceChecker
{
public:
// default ctor, use Create() after it
// 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);
void Init() { m_impl = NULL; }
// the implementation details (platform specific)
- class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl;
+ class WXDLLIMPEXP_FWD_BASE wxSingleInstanceCheckerImpl *m_impl;
+
+ DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
};
#endif // wxUSE_SNGLINST_CHECKER