Revision: 40853
http://brlcad.svn.sourceforge.net/brlcad/?rev=40853&view=rev
Author: davidloman
Date: 2010-09-29 18:29:55 +0000 (Wed, 29 Sep 2010)
Log Message:
-----------
FileDataSource needs a root repo path var.
Modified Paths:
--------------
rt^3/trunk/include/FileDataSource.h
rt^3/trunk/src/GS/FileDataSource.cxx
Modified: rt^3/trunk/include/FileDataSource.h
===================================================================
--- rt^3/trunk/include/FileDataSource.h 2010-09-29 18:19:29 UTC (rev 40852)
+++ rt^3/trunk/include/FileDataSource.h 2010-09-29 18:29:55 UTC (rev 40853)
@@ -30,8 +30,20 @@
class FileDataSource: public IDataSource {
public:
- FileDataSource();
+ FileDataSource(QString repoPath);
virtual ~FileDataSource();
+
+ bool lock(DbObject* obj, Account* a);
+ bool hasLock(DbObject* obj, Account* a);
+ bool unlock(DbObject* obj);
+
+ DbObject* getByPath(QString path);
+ DbObject* getByID(QUuid id);
+ bool putObject(DbObject* obj);
+
+private:
+ QString repoPath;
+
};
#endif /* __FILEDATASOURCE_H__ */
Modified: rt^3/trunk/src/GS/FileDataSource.cxx
===================================================================
--- rt^3/trunk/src/GS/FileDataSource.cxx 2010-09-29 18:19:29 UTC (rev
40852)
+++ rt^3/trunk/src/GS/FileDataSource.cxx 2010-09-29 18:29:55 UTC (rev
40853)
@@ -23,15 +23,42 @@
*
*/
-
#include "FileDataSource.h"
-FileDataSource::FileDataSource() {
+FileDataSource::FileDataSource(QString repoPath):repoPath(repoPath)
+{
}
FileDataSource::~FileDataSource() {
}
+bool
+FileDataSource::lock(DbObject* obj, Account* a)
+{
+}
+bool
+FileDataSource::hasLock(DbObject* obj, Account* a)
+{
+}
+bool
+FileDataSource::unlock(DbObject* obj)
+{
+}
+
+DbObject*
+FileDataSource::getByPath(QString path)
+{
+}
+DbObject*
+FileDataSource::getByID(QUuid id)
+{
+}
+bool
+FileDataSource::putObject(DbObject* obj)
+{
+}
+
+
// Local Variables:
// tab-width: 8
// mode: C++
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits