-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpowertabparser.h
50 lines (40 loc) · 1.27 KB
/
powertabparser.h
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
/////////////////////////////////////////////////////////////////////////////
// Name: powertabparser.h
// Purpose: Application for parsing Power Tab files
// Author: Brad Larsen
// Modified by:
// Created: Dec 29, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __POWERTABPARSER_H__
#define __POWERTABPARSER_H__
class wxDocManager;
class MainFrame;
/// Application for parsing Power Tab files
class PowerTabParser : public wxApp
{
// Member Variables
protected:
wxDocManager* m_docManager; ///< Document manager
// Constructor/Destructor
public:
PowerTabParser();
// Overrides
bool OnInit();
int OnExit();
// Document Manager Functions
/// Gets a pointer to the document manager
/// @return A pointer to the document manager
wxDocManager* GetDocManager() const
{return (m_docManager);}
// Operations
protected:
void AddDocumentTemplates();
bool LoadXMLResources();
};
DECLARE_APP(PowerTabParser)
// Global access to the main frame
extern MainFrame* GetMainFrame();
#endif