~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to UnitTests/UnitTest_GraphView/DialogManager.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           08/2010
 
5
*/
 
6
#ifndef __DIALOG_MANAGER_H__
 
7
#define __DIALOG_MANAGER_H__
 
8
 
 
9
#include <MyGUI.h>
 
10
#include "Dialog.h"
 
11
 
 
12
namespace tools
 
13
{
 
14
        class DialogManager :
 
15
                public MyGUI::Singleton<DialogManager>
 
16
        {
 
17
        public:
 
18
                DialogManager();
 
19
                virtual ~DialogManager();
 
20
 
 
21
                void initialise();
 
22
                void shutdown();
 
23
 
 
24
                bool getAnyDialog();
 
25
                void endTopDialog(bool _result = false);
 
26
 
 
27
        public:
 
28
                void _addDialog(Dialog* _modal);
 
29
                void _removeDialog(Dialog* _modal);
 
30
 
 
31
        private:
 
32
                typedef std::vector<Dialog*> VectorDialog;
 
33
                VectorDialog mDialogs;
 
34
        };
 
35
 
 
36
} // namespace tools
 
37
 
 
38
#endif // __DIALOG_MANAGER_H__