File: treeviewapp.h

package info (click to toggle)
wxsqlite3 3.1.1~dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,852 kB
  • ctags: 3,302
  • sloc: cpp: 22,435; sh: 2,837; makefile: 367; ansic: 212; php: 9
file content (58 lines) | stat: -rwxr-xr-x 1,033 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/////////////////////////////////////////////////////////////////////////////
// Name:        treeviewapp.h
// Purpose:     
// Author:      Ulrich Telle
// Modified by: 
// Created:     2014-05-11
// Copyright:   (c) Ulrich Telle
// Licence:     wxWindows licence
/////////////////////////////////////////////////////////////////////////////

#ifndef _TREEVIEW_APP_H_
#define _TREEVIEW_APP_H_


/*!
 * Includes
 */

#include <wx/image.h>

#include "treeviewsample.h"

/*!
 * TreeviewSampleApp class declaration
 */

class TreeviewSampleApp: public wxApp
{    
  DECLARE_CLASS( TreeviewSampleApp )
  DECLARE_EVENT_TABLE()

public:
  /// Constructor
  TreeviewSampleApp();

  void Init();

  /// Initialises the application
  virtual bool OnInit();

  /// Called on exit
  virtual int OnExit();

  /// Initialize sample database
  bool InitializeDatabase();

  TreeviewSample* m_mainFrameWindow;
  wxSQLite3Database m_db;
};

/*!
 * Application instance declaration 
 */

DECLARE_APP(TreeviewSampleApp)

#endif
    // _TREEVIEWAPP_H_