summaryrefslogtreecommitdiffstats
path: root/gamechestcli/gamechest/statusdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/gamechest/statusdb.py')
-rw-r--r--gamechestcli/gamechest/statusdb.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/gamechestcli/gamechest/statusdb.py b/gamechestcli/gamechest/statusdb.py
index 4c490a2..3f2af31 100644
--- a/gamechestcli/gamechest/statusdb.py
+++ b/gamechestcli/gamechest/statusdb.py
@@ -19,6 +19,11 @@ class StatusDB:
installed bool,
version_installed text
)
+ --CREATE TABLE IF NOT EXISTS last_items (
+ -- game_id text,
+ -- profile_id text,
+ -- type text,
+ --)
''')
def close(self):
@@ -66,6 +71,20 @@ class StatusDB:
game_info['id'],
))
+ def set_last_played_game(self, game_id):
+ #cursor = self.conn.cursor()
+ #with self.conn:
+ # cursor.execute('''
+ # INSERT INTO
+ # game_id text,
+ # profile_id text,
+ # type text,
+ # ''')
+ pass
+
+ def set_last_played_profile(self, profile_id):
+ pass
+
def get_installed(self):
for row in (
self.conn