summaryrefslogtreecommitdiff
path: root/gio/src/drive.ccg
Commit message (Collapse)AuthorAgeFilesLines
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* add BufferedInputStream classJonathon Jongsma2008-02-021-27/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * gio/src/gio_vfuncs.defs: * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/bufferedinputstream.ccg: * gio/src/bufferedinputstream.hg: add BufferedInputStream class * gio/giomm/slot_async.cc: * gio/giomm/slot_async.h: split out the SlotProxy_async_callback so it doesn't have to be implemented in every file * gio/src/drive.ccg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileenumerator.ccg: * gio/src/fileinputstream.ccg: * gio/src/fileoutputstream.ccg: * gio/src/inputstream.ccg: * gio/src/mount.ccg: * gio/src/outputstream.ccg: * gio/src/volume.ccg: use the common SlotProxy_async_callback function in all of these files * tools/m4/convert_gio.m4: add conversion for Cancellable * gio/giomm/Makefile.am: indenting changes svn path=/trunk/; revision=560
* poll_for_media(): Added documentation. Wrapped 2 vfuncs (though the .defsMurray Cumming2008-01-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-18 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: poll_for_media(): Added documentation. Wrapped 2 vfuncs (though the .defs still need to be written). * gio/src/file.ccg: * gio/src/file.hg: move(), copy(), replace(): Rearranged the parameters so we can have default values, and added some documentation. set_display_name(), set_display_name_async(): Take a ustring instead of a std::string. Added documentation. * gio/src/fileattribute.ccg: * gio/src/fileattribute.hg: Added FileAttributeInfoList::add(). Added FileAttributeInfoList::empty(). * tools/m4/convert_gio.m4: * gio/src/appinfo.hg: * gio/src/fileenumerator.hg: Move the ListHandle conversions to the .hg files because the ownership is specific to each use. svn path=/trunk/; revision=522
* eject(),Murray Cumming2008-01-171-6/+6
| | | | | | | | | | | | | | | | | | 2008-01-17 Murray Cumming <murrayc@murrayc.com> * gio/src/file.hg: * gio/src/drive.ccg: * gio/src/drive.hg: eject(), * gio/src/volume.ccg: * gio/src/volume.hg: eject(), * tools/m4/convert_gio.m4: Wrapped GMountUnmountFlags enum as MountUnmountFlags, and used it. * gio/src/file.ccg: * gio/src/file.hg: unmount_mountable(), eject(): Reorder the parameters and add a default flag value. svn path=/trunk/; revision=518
* eject(), poll_for_media()Murray Cumming2008-01-151-2/+18
| | | | | | | | | | | | 2008-01-15 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: eject(), poll_for_media() * gio/src/volume.ccg: * gio/src/volume.hg: mount(), eject(): Add method overloads that take no slot. svn path=/trunk/; revision=512
* *_async() functions: Rearrange the parameters, so the (optional)Murray Cumming2008-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-15 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileenumerator.ccg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.ccg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.ccg: * gio/src/fileoutputstream.hg: * gio/src/inputstream.ccg: * gio/src/inputstream.hg: * gio/src/outputstream.ccg: * gio/src/outputstream.hg: * gio/src/volume.ccg: * gio/src/volume.hg: *_async() functions: Rearrange the parameters, so the (optional) cancellable is always after the slot, and so flags and io_priority are always at the end, so they can have default values. svn path=/trunk/; revision=510
* Added poll_for_media, poll_for_media_finish.Marko Anastasov2008-01-101-0/+27
| | | | | | | | | | | | | | 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com> * gio/src/drive.hg: * gio/src/drive.ccg: Added poll_for_media, poll_for_media_finish. * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/inputstream.hg: * gio/src/volume.hg: Modified *_finish functions to take a const AsyncResult. svn path=/trunk/; revision=501
* Copy (and very slightly adjust) the build_shared/ files from gtkmm, whichMurray Cumming2008-01-101-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Murray Cumming <murrayc@murrayc.com> * Makefile.am: * build_shared/Makefile_build.am_fragment: * build_shared/Makefile_build_extra.am_fragment: * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * build_shared/Makefile_gensrc_platform.am_fragment: Copy (and very slightly adjust) the build_shared/ files from gtkmm, which has had multiple sub-libraries for a long time. * gio/giomm/Makefile.am: * gio/src/Makefile.am: * gio/src/Makefile_list_of_hg.am_fragment: * glib/glibmm/Makefile.am: * glib/glibmm/private/Makefile.am: * glib/src/Makefile.am: * glib/src/Makefile_list_of_hg.am_fragment: Adapt to the structure (variable names, mostly) needed by the newer build_shared/ files, so that the giomm library is actually built. * tools/m4/convert_glib.m4: * gio/giomm/init.cc: * gio/giomm/init.h: * gio/src/asyncresult.ccg: * gio/src/drive.ccg: * gio/src/drive.hg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileattribute.ccg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/volume.ccg: * gio/src/volume.hg: Various build fixes, including adding a flags parameter to unmount and eject methods. svn path=/trunk/; revision=497
* Checked in sources from giomm. Build needs to be fixed to work withMarko Anastasov2007-12-281-0/+79
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com> * gio/*: * configure.in: * Makefile.am: * tools/m4/convert_glib.m4: Checked in sources from giomm. Build needs to be fixed to work with scripts in build_shared/. svn path=/trunk/; revision=482