рефакторинг
This commit is contained in:
@@ -34,6 +34,12 @@ public abstract class Database {
|
||||
// UI.Print(DebugPrintLevel.Database, "соединение с базой данных " + file.getAbsolutePath());
|
||||
connect();
|
||||
}
|
||||
public void Activate() throws Exception{
|
||||
Connect();
|
||||
CreateAllTables();
|
||||
prepareTablesStatements();
|
||||
Synchronize();
|
||||
}
|
||||
public void prepareTablesStatements() throws Exception {
|
||||
}
|
||||
public void Disconnect() throws Exception {
|
||||
|
||||
@@ -255,4 +255,5 @@ public abstract class SQLiteDatabase extends Database {
|
||||
}
|
||||
//--
|
||||
//https://stackoverflow.com/questions/8558099/sqlite-query-with-byte-where-clause
|
||||
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
package Common.Visual.Controls;
|
||||
import Common.Passes.Pass;
|
||||
public interface PassControl {
|
||||
void setIcon(String icon_path);
|
||||
void setEnabled(boolean flag);
|
||||
|
||||
Reference in New Issue
Block a user