aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisfile.h
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-03-19 13:34:53 +0000
committerDaniel Brahneborg <basic@chello.se>2002-03-19 13:34:53 +0000
commit89a3d9a86c9f948829ab173b811709f74685bfe6 (patch)
treebeb4e5806d47b4f4c7d4335deecaf205b4e9634a /lib/sisfile.h
parenta7f48478e5126a8cd4b729109ab7aacabc615c66 (diff)
downloadplptools-89a3d9a86c9f948829ab173b811709f74685bfe6.tar.gz
plptools-89a3d9a86c9f948829ab173b811709f74685bfe6.tar.bz2
plptools-89a3d9a86c9f948829ab173b811709f74685bfe6.zip
Remove the previous version (unconditionally) before installing the new
version.
Diffstat (limited to 'lib/sisfile.h')
-rw-r--r--lib/sisfile.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sisfile.h b/lib/sisfile.h
index 2bfcea5..d74cc1c 100644
--- a/lib/sisfile.h
+++ b/lib/sisfile.h
@@ -39,6 +39,10 @@ class SISFile
{
public:
+ SISFile();
+
+ virtual ~SISFile();
+
/**
* Compare uid and version number of this file, with another.
*
@@ -70,6 +74,11 @@ public:
*/
uint8_t* getName();
+ void ownBuffer()
+ {
+ m_ownBuffer = true;
+ }
+
/**
* Is this the same application?
*/
@@ -99,6 +108,10 @@ private:
SISComponentNameRecord m_componentRecord;
+ bool m_ownBuffer;
+
+ uint8_t* m_buf;
+
};
#endif