source: psi/trunk/src/main.h@ 84

Last change on this file since 84 was 2, checked in by dmik, 19 years ago

Imported original Psi 0.10 sources from Affinix

File size: 1.2 KB
Line 
1/*
2 * main.h - initialization and profile/settings handling
3 * Copyright (C) 2001-2003 Justin Karneges
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 */
20
21#ifndef MAIN_H
22#define MAIN_H
23
24#include<qobject.h>
25#include<qstring.h>
26#include"varlist.h"
27#include"psicon.h"
28
29
30class PsiMain : public QObject
31{
32 Q_OBJECT
33public:
34 PsiMain(QObject *parent=0);
35 ~PsiMain();
36
37signals:
38 void quit();
39
40private slots:
41 void chooseProfile();
42 void sessionStart();
43 void sessionQuit(int);
44 void bail();
45
46private:
47 VarList langs;
48
49 QString lastProfile, lastLang;
50 bool autoOpen;
51
52 PsiCon *pcon;
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.