[glibmm] add get_start_stop_type() and Gio::DriveStartStopType enum
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Subject: [glibmm] add get_start_stop_type() and Gio::DriveStartStopType enum
- Date: Fri, 17 Jul 2009 04:50:38 +0000 (UTC)
commit d2f1529ebb0c25811d326c8ab3dd98fdb70d4454
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Thu Jul 16 23:00:43 2009 -0500
add get_start_stop_type() and Gio::DriveStartStopType enum
ChangeLog | 6 ++++++
gio/src/drive.hg | 3 +++
tools/m4/convert_gio.m4 | 2 ++
3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 00ede2b..d4a8668 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-07-16 Jonathon Jongsma <jonathon jongsma collabora co uk>
+ * gio/src/drive.hg:
+ * tools/m4/convert_gio.m4: add get_start_stop_type() and
+ Gio::DriveStartStopType enum
+
+2009-07-16 Jonathon Jongsma <jonathon jongsma collabora co uk>
+
* gio/src/drive.hg: add _IGNORE() for a eject_with_operation() which
is hand-written
diff --git a/gio/src/drive.hg b/gio/src/drive.hg
index 45f4940..ac0395a 100644
--- a/gio/src/drive.hg
+++ b/gio/src/drive.hg
@@ -33,6 +33,7 @@ namespace Gio
{
_WRAP_ENUM(DriveStartFlags, GDriveStartFlags)
+_WRAP_ENUM(DriveStartStopType, GDriveStartStopType)
/** Virtual File System drive management.
*
@@ -143,6 +144,8 @@ public:
/** @newin2p22 */
_WRAP_METHOD(bool can_stop() const, g_drive_can_stop)
+ _WRAP_METHOD(DriveStartStopType get_start_stop_type() const, g_drive_get_start_stop_type)
+
/** @newin2p20
*/
_WRAP_SIGNAL(void changed(), changed, no_default_handler)
diff --git a/tools/m4/convert_gio.m4 b/tools/m4/convert_gio.m4
index 0b0ba7d..632bef4 100644
--- a/tools/m4/convert_gio.m4
+++ b/tools/m4/convert_gio.m4
@@ -21,6 +21,8 @@ _CONV_ENUM(G,SocketType)
_CONV_ENUM(G,SocketProtocol)
_CONV_ENUM(G,SocketMsgFlags)
_CONV_ENUM(G,DriveStartFlags)
+_CONV_ENUM(G,DriveStartFlags)
+_CONV_ENUM(G,DriveStartStopType)
# AppInfo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]