main.h

Go to the documentation of this file.
00001 /* === S Y N F I G ========================================================= */
00021 /* ========================================================================= */
00022 
00023 /* === S T A R T =========================================================== */
00024 
00025 #ifndef __SYNFIG_MAIN_H
00026 #define __SYNFIG_MAIN_H
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include <ETL/ref_count>
00031 #include "general.h"
00032 
00033 /* === M A C R O S ========================================================= */
00034 
00035 /* === T Y P E D E F S ===================================================== */
00036 
00037 /* === C L A S S E S & S T R U C T S ======================================= */
00038 
00039 namespace synfig {
00040 
00046 class Main
00047 {
00048     etl::reference_counter ref_count_;
00049 public:
00050     Main(const synfig::String& basepath,ProgressCallback *cb=0);
00051     ~Main();
00052 
00053     static void load_modules(ProgressCallback *cb=0);
00054 
00055     const etl::reference_counter& ref_count()const { return ref_count_; }
00056 }; // END of class Main
00057 
00058 }; // END if namespace synfig
00059 
00060 /* === E N D =============================================================== */
00061 
00062 #endif

Generated on Wed Dec 12 03:11:41 2007 for synfig by  doxygen 1.5.4