-
Notifications
You must be signed in to change notification settings - Fork 2
/
Tulip.h
66 lines (54 loc) · 1.87 KB
/
Tulip.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License terms to copy, use or distribute the Fluent UI are available separately.
// To learn more about our Fluent UI licensing program, please visit
// https://go.microsoft.com/fwlink/?LinkId=238214.
//
// Copyright (C) Microsoft Corporation
// All rights reserved.
// Tulip.h : main header file for the Tulip application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
#include "FlowchartEditor/FlowchartClipboardHandler.h"
#include "NetworkEditor/NetworkEditorClipboardHandler.h"
#include "UMLEditor/UMLClipboardHandler.h"
// CTulipApp:
// See Tulip.cpp for the implementation of this class
//
class CTulipApp : public CWinAppEx
{
public:
CTulipApp();
CUMLClipboardHandler m_umlClip;
CNetworkEditorClipboardHandler m_netClip;
CFlowchartClipboardHandler m_flowchartClip;
// Overrides
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
// Implementation
UINT m_nAppLook;
virtual void PreLoadState();
virtual void LoadCustomState();
virtual void SaveCustomState();
afx_msg void OnAppAbout();
afx_msg void OnFileNew();
afx_msg void OnFileNewDialog();
afx_msg void OnFileNewFlowchart();
afx_msg void OnFileNewNet();
afx_msg void OnFileNewUml();
afx_msg void OnFileOpen();
DECLARE_MESSAGE_MAP()
protected:
CMultiDocTemplate* m_dialogDocTemplate;
CMultiDocTemplate* m_flowchartDocTemplate;
CMultiDocTemplate* m_netDocTemplate;
CMultiDocTemplate* m_umlDocTemplate;
};
extern CTulipApp theApp;