Panda3D
config_movies.h
1 // Filename: config_movies.h
2 // Created by: jyelon (02Jul07)
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_MOVIES_H
16 #define CONFIG_MOVIES_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "configVariableBool.h"
21 #include "configVariableList.h"
22 #include "threadPriority.h"
23 #include "dconfig.h"
24 
25 ConfigureDecl(config_movies, EXPCL_PANDA_MOVIES, EXPTP_PANDA_MOVIES);
26 NotifyCategoryDecl(movies, EXPCL_PANDA_MOVIES, EXPTP_PANDA_MOVIES);
27 
28 extern ConfigVariableList load_audio_type;
29 extern ConfigVariableList load_video_type;
30 
31 extern ConfigVariableBool vorbis_enable_seek;
32 extern ConfigVariableBool vorbis_seek_lap;
33 
34 extern EXPCL_PANDA_MOVIES void init_libmovies();
35 
36 #endif /* CONFIG_MOVIES_H */
This is a convenience class to specialize ConfigVariable as a boolean type.
This class is similar to ConfigVariable, but it reports its value as a list of strings.