~ubuntu-branches/ubuntu/vivid/mediatomb/vivid

« back to all changes in this revision

Viewing changes to src/storage/sql_storage.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Mejia
  • Date: 2008-03-02 13:09:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080302130916-zlljdze3kt7vuq4b
Tags: 0.11.0-1
* New upstream release.
* Include message about which inotify headers will be used when enabling
  inotify runtime support.
* Fixed error with use of INTERFACE in init script. Also removed use of -m
  option.
* Including new config.xml options.
* Added more build dependencies for new upstream release.
* Removed build dependency of libid3-dev, taglib is now preferred.
* mediatomb.xpm and manpage.xml is now included in orig tarball.
* inotify patch is not needed anymore.
* md5 patch has been committed upstream and is no longer needed. Also removed
  README.Debian.
* TwinHelix PNG fix is now used. Removed from TODO.
* Adding dependency of iceweasel for mediatomb package.
* Updated copyright file.
* Updated watch file.
* Updated rules file for proper configure options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    Copyright (C) 2005 Gena Batyan <bgeradz@mediatomb.cc>,
8
8
                       Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
9
9
    
10
 
    Copyright (C) 2006-2007 Gena Batyan <bgeradz@mediatomb.cc>,
 
10
    Copyright (C) 2006-2008 Gena Batyan <bgeradz@mediatomb.cc>,
11
11
                            Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>,
12
12
                            Leonhard Wimmer <leo@mediatomb.cc>
13
13
    
24
24
    version 2 along with MediaTomb; if not, write to the Free Software
25
25
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
26
26
    
27
 
    $Id: sql_storage.h 1381 2007-07-08 16:06:02Z lww $
 
27
    $Id: sql_storage.h 1698 2008-02-23 20:48:30Z lww $
28
28
*/
29
29
 
30
30
/// \file sql_storage.h
89
89
    int exec(zmm::Ref<zmm::StringBuffer> buf, bool getLastInsertId = false)
90
90
        { return exec(buf->c_str(), buf->length(), getLastInsertId); }
91
91
    
92
 
    /// \todo get rid of this wrapper - MysqlStorage and Sqlite3Storage won't find the above one. why?
93
 
    int execSB(zmm::Ref<zmm::StringBuffer> buf, bool getLastInsertId = false)
94
 
        { return exec(buf, getLastInsertId); }
95
 
    //virtual int execi(zmm::Ref<zmm::StringBuffer> buf, bool getLastInsertId = false)
96
 
    //    { return exec(buf->c_str(), buf->length(), getLastInsertId); }
97
 
    
98
92
    virtual void addObject(zmm::Ref<CdsObject> object, int *changedContainer);
99
93
    virtual void updateObject(zmm::Ref<CdsObject> object, int *changedContainer);
100
94
    
108
102
    virtual zmm::Ref<ChangedContainers> removeObject(int objectID, bool all);
109
103
    virtual zmm::Ref<ChangedContainers> removeObjects(zmm::Ref<DBRHash<int> > list, bool all = false);
110
104
    
 
105
    virtual zmm::Ref<CdsObject> loadObjectByServiceID(zmm::String serviceID);
 
106
    virtual zmm::Ref<zmm::IntArray> getServiceObjectIDs(char servicePrefix);
 
107
    
111
108
    /* accounting methods */
112
109
    virtual int getTotalFiles();
113
110