summaryrefslogtreecommitdiffstats
path: root/kioslave/media/libmediacommon/medium.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/media/libmediacommon/medium.h')
-rw-r--r--kioslave/media/libmediacommon/medium.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kioslave/media/libmediacommon/medium.h b/kioslave/media/libmediacommon/medium.h
index b0eb86c33..78da6d09c 100644
--- a/kioslave/media/libmediacommon/medium.h
+++ b/kioslave/media/libmediacommon/medium.h
@@ -1,5 +1,5 @@
/* This file is part of the KDE Project
- Copyright (c) 2004 Kévin Ottens <ervin ipsquad net>
+ Copyright (c) 2004 K�vin Ottens <ervin ipsquad net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -43,7 +43,8 @@ public:
static const uint ICON_NAME = 11;
static const uint ENCRYPTED = 12;
static const uint CLEAR_DEVICE_UDI = 13;
- static const uint PROPERTIES_COUNT = 14;
+ static const uint HIDDEN = 14;
+ static const uint PROPERTIES_COUNT = 15;
static const TQString SEPARATOR;
Medium(const TQString &id, const TQString &name);
@@ -66,6 +67,7 @@ public:
TQString iconName() const { return m_properties[ICON_NAME]; }
bool isEncrypted() const { return m_properties[ENCRYPTED]=="true"; };
TQString clearDeviceUdi() const { return m_properties[CLEAR_DEVICE_UDI]; };
+ bool hidden() const { return m_properties[HIDDEN]=="true"; };
bool needMounting() const;
bool needDecryption() const;
@@ -76,6 +78,7 @@ public:
void setLabel(const TQString &label);
void setUserLabel(const TQString &label);
void setEncrypted(bool state);
+ void setHidden(bool state);
bool mountableState(bool mounted);
void mountableState(const TQString &deviceNode,