summaryrefslogtreecommitdiff
path: root/discmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'discmgr.h')
-rw-r--r--discmgr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/discmgr.h b/discmgr.h
index ba85a84..e35950b 100644
--- a/discmgr.h
+++ b/discmgr.h
@@ -22,7 +22,6 @@ private:
cString Device, Path, MountCmd, UnMountCmd, EjectCmd;
- bool IsMounted(void);
void Mount(bool Retry = true);
void UnMount(void);
void CloseTray(void);
@@ -30,6 +29,7 @@ private:
public:
cDiscMgr();
+ const char *GetDev(void) { return Device; }
const char *GetPath(void) { return Path; }
void SetDevice(const char *D) { Device = D; }
@@ -38,6 +38,8 @@ private:
void SetUnMountCmd(const char *U) { UnMountCmd = U; }
void SetEjectCmd(const char *E) { EjectCmd = E; }
+ bool IsMounted(void);
+
bool CheckDisc(void);
void Eject(void);
};