start some messaging code

messaging
Georg Lukas 2011-05-03 14:02:27 +02:00
rodzic eff7e5f16b
commit bb12fefc4d
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -84,6 +84,15 @@ object StorageDatabase {
lazy val TABLE_INDEX = "CREATE INDEX idx_position_%s ON position (%s)"
}
object Message {
val TABLE = "message"
val _ID = "_id"
val TS = "ts"
val CALL = "call"
val MSGID = "msgid"
val TEXT = "text"
}
var singleton : StorageDatabase = null
def open(context : Context) : StorageDatabase = {
if (singleton == null) {