summaryrefslogtreecommitdiffstats
path: root/kdict/application.h
blob: fc34ef028642be57560112b37941119f3f8bf9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* -------------------------------------------------------------

   application.h (part of The KDE Dictionary Client)

   Copyright (C) 2000-2001 Christian Gebauer <[email protected]>

   This file is distributed under the Artistic License.
   See LICENSE for details.

 ------------------------------------------------------------- */

#ifndef APPLICATION_H
#define APPLICATION_H

#include <tdeuniqueapplication.h>
#include <tqguardedptr.h>

#define KDICT_VERSION "0.6"

class TopLevel;

class Application : public TDEUniqueApplication
{
  TQ_OBJECT
  

  public:
    Application();
    ~Application();

    /** Create new instance of Kdict. Make the existing
        main window active if Kdict is already running */
    int newInstance();

  private:
    TQGuardedPtr<TopLevel> m_mainWindow;

};

#endif