1
////////////////////////////////////////////////////////////////////////////
2
// NoteCase notes manager project <http://notecase.sf.net>
4
// This code is licensed under BSD license.See "license.txt" for more details.
6
// File: object of this class should be alive as long as program lives
7
// so that instance can be detected (by using named mutex object)
8
////////////////////////////////////////////////////////////////////////////
10
#ifndef __SINGLEINSTANCE_H__
11
#define __SINGLEINSTANCE_H__
19
CSingleInstance(const char *szName);
22
bool ProgramAlreadyStarted();
26
bool m_bAlreadyExists;
29
#endif // __SINGLEINSTANCE_H__
1
////////////////////////////////////////////////////////////////////////////
2
// NoteCase notes manager project <http://notecase.sf.net>
4
// This code is licensed under BSD license.See "license.txt" for more details.
6
// File: object of this class should be alive as long as program lives
7
// so that instance can be detected (by using named mutex object)
8
////////////////////////////////////////////////////////////////////////////
10
#ifndef __SINGLEINSTANCE_H__
11
#define __SINGLEINSTANCE_H__
19
CSingleInstance(const char *szName);
22
bool ProgramAlreadyStarted();
26
bool m_bAlreadyExists;
29
#endif // __SINGLEINSTANCE_H__