aboutsummaryrefslogtreecommitdiff
path: root/cnotmuch/database.py
diff options
context:
space:
mode:
authorSebastian Spaeth <sebastian@sspaeth.de>2010-03-16 12:39:47 +0100
committerSebastian Spaeth <sebastian@sspaeth.de>2010-03-16 12:39:47 +0100
commit0e90d656fc54cd5dfbc5879ad17dbee0bb3f4de2 (patch)
tree50dd6af5b44da767cb7611a795f11035535b82b5 /cnotmuch/database.py
parent7b9ddcb6a63b29f7088674e1590224b484d8a11d (diff)
Query() stub
--HG-- extra : transplant_source : %1E%14%7B%E7J%DD%96O%C7%E6%B5%FB%D8V%7B%0F%7C%25ot
Diffstat (limited to 'cnotmuch/database.py')
-rw-r--r--cnotmuch/database.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/cnotmuch/database.py b/cnotmuch/database.py
index 10251c42..82c4f2bc 100644
--- a/cnotmuch/database.py
+++ b/cnotmuch/database.py
@@ -142,6 +142,15 @@ class Database(object):
"""Returns a pointer to the current notmuch_database_t or None"""
return self._db
+#------------------------------------------------------------------------------
+class Query(object):
+ """ Wrapper around a notmuch_query_t
+
+ Do note that as soon as we tear down this object, all derived
+ threads, and messages will be freed as well.
+ """
+ def __init__(self, db, querystr):
+ pass
#------------------------------------------------------------------------------
class Tags(object):