Exemple #1
0
 public static MyFileDbConnection getConnection()
 {
     if (null == m_this)
     {
         ModelFileDatabase.init();
     }
     return(new ModelFileDatabase.MyFileDbConnection(DBFILE_DB_NAME));
 }
Exemple #2
0
 public static void init()
 {
     if (null != m_this)
     {
         deInit();
     }
     m_this = new ModelFileDatabase();
 }
Exemple #3
0
 public static void deInit()
 {
     m_this = null;
 }