Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add storage manager property to repository object

  • Loading branch information...
commit 5002eaa97a3c56ff0cfedc8e62a97e225ca21ad1 1 parent 505143a
@piotras piotras authored
Showing with 12 additions and 6 deletions.
  1. +12 −6 src/vala/storable.vala
View
18 src/vala/storable.vala
@@ -49,6 +49,7 @@ namespace MidgardCR {
internal int _id = 0;
internal Metadata _metadata = null;
internal string _identifier = null;
+ internal StorageManager _storage_manager = null;
/* properties */
@@ -59,12 +60,8 @@ namespace MidgardCR {
* It's internally set in any other case.
*/
public string guid {
- get {
- return this._guid;
- }
- construct {
- this._guid = value;
- }
+ get { return this._guid; }
+ construct { this._guid = value; }
}
/**
@@ -91,6 +88,15 @@ namespace MidgardCR {
get { return this._metadata; }
}
+ /**
+ * Storage manager for which current instance has been initialized.
+ * It's not mandatory to set storage manager.
+ */
+ public StorageManager storage_manager {
+ get { return this._storage_manager; }
+ construct { this._storage_manager = value; }
+ }
+
/* signals */
/**
Please sign in to comment.
Something went wrong with that request. Please try again.