19 #ifndef TIANCHI_TCSINGLEINSTANCE_H
20 #define TIANCHI_TCSINGLEINSTANCE_H
22 #include <tianchi/tcglobal.h>
24 #include <QLocalSocket>
25 #include <QLocalServer>
57 init(0, instanceName);
64 init(parent, instanceName);
68 bool first()
const {
return m_first; }
77 void init(QObject* parent, QString instanceName);
80 #endif // TIANCHI_SINGLEINSTANCE_H