Panda3D
 All Classes Functions Variables Enumerations
config_iphonedisplay.h
1 // Filename: config_iphonedisplay.h
2 // Created by: drose (08Apr09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef CONFIG_IPHONEDISPLAY_H
16 #define CONFIG_IPHONEDISPLAY_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "configVariableBool.h"
21 #include "configVariableInt.h"
22 
23 NotifyCategoryDecl(iphonedisplay, EXPCL_MISC, EXPTP_MISC);
24 
25 extern ConfigVariableBool iphone_autorotate_view;
26 
27 extern EXPCL_MISC void init_libiphonedisplay();
28 extern "C" EXPCL_MISC int get_pipe_type_iphonedisplay();
29 
30 #endif // CONFIG_IPHONEDISPLAY_H
This is a convenience class to specialize ConfigVariable as a boolean type.