summaryrefslogtreecommitdiff
path: root/gio/src/mount.ccg
Commit message (Collapse)AuthorAgeFilesLines
* Add Gio::giomm_SignalProxy_async_callback() with C linkageKjell Ahlstedt2023-03-311-12/+12
| | | | | and use it instead of SignalProxy_async_callback(). Part of issue #1
* Meson build: No implicit_include_directoriesKjell Ahlstedt2021-03-261-1/+1
| | | | | | | It shall not be possible to find a glibmm header file with #include <xxx.h> instead of #include <glibmm/xxx.h>. Not fully fixed until https://github.com/mesonbuild/meson/issues/8562 has been fixed.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-4/+1
| | | | Bug 786824
* Gio::Mount: Move enums into class.Murray Cumming2017-04-181-16/+16
|
* Run clang-format on the .ccg files.Murray Cumming2016-02-261-148/+112
| | | | This seems to work.
* Gio: Use of nullptr instead of 0.Murray Cumming2015-11-201-35/+35
|
* C++11: Use nullptr.Murray Cumming2015-07-161-2/+2
|
* C++11: Some use of the auto keyword.Murray Cumming2015-07-151-12/+12
|
* gmmproc: Don't include <glibmm.h> by default in generated files.José Alburquerque2011-10-251-0/+2
| | | | | | | | | | | | * tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h> by default in header files of generated files in modules other than glibmm. This should make compilation faster for those modules. * gio/src/*.{h,cc}g: * gio/giomm/slot_async.cc: Adjust includes according to the above change. Bug #662597
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-14/+0
| | | | | | | | | * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
* Use 0 instead of NULL.Murray Cumming2010-01-291-13/+13
| | | | | | | * gio/src/*.ccg * glib/src/*.ccg: Use 0 instead of NULL because this is C++ where NULL is generally not a good idea. I didn't see any places where it was a real problem though.
* Use Glib::unwrap() instead of ->gobj(),Murray Cumming2010-01-291-16/+16
| | | | | | | * gio/src/*.ccg: Use Glib::unwrap() instead of ->gobj(), so we don't crash if people pass in null RefPtr<>s, which they might do by accident, or if we have not wrapped all the may-be-null cases as method overrides.
* Implement Gio::Mount::mount/eject_with_operation()Jonathon Jongsma2009-07-091-29/+118
| | | | | | | * gio/src/mount.ccg: * gio/src/mount.hg: implement eject_with_operation() and mount_with_operation similarly to the GDrive methods mentioned below
* 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 a bunch of new / missed APIJonathon Jongsma2008-12-121-13/+44
| | | | svn path=/trunk/; revision=754
* Added make_directory_with_parents(), query_file_type(), monitor().Murray Cumming2008-07-161-0/+37
| | | | | | | | | | | | | | | | | 2008-07-16 Murray Cumming <murrayc@murrayc.com> * gio/src/file.ccg: * gio/src/file.hg: Added make_directory_with_parents(), query_file_type(), monitor(). * gio/src/fileenumerator.ccg: * gio/src/fileenumerator.hg: Added get_container(). * gio/src/mount.hg: Added guess_content_type() and guess_content_type_finish(). * gio/src/themedicon.hg: Added prepend_name(). * gio/src/volume.hg: Added get_activation_root(). * tools/m4/convert_gio.m4: Added a necessary conversion. svn path=/trunk/; revision=688
* update to match new gio API which adds a GMountMountFlags argument to allJonathon Jongsma2008-02-121-4/+8
| | | | | | | | | | | | | | | | * gio/src/file.ccg: * gio/src/file.hg: * gio/src/gio_enums.defs: * gio/src/gio_vfuncs.defs: * gio/src/mount.ccg: * gio/src/mount.hg: * gio/src/volume.ccg: * gio/src/volume.hg: * tools/m4/convert_gio.m4: update to match new gio API which adds a GMountMountFlags argument to all mount operations svn path=/trunk/; revision=595
* 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
* FileAttributeMatcher::create(): Add a default value and documentation.Murray Cumming2008-01-201-2/+2
| | | | | | | | | | | | | | 2008-01-20 Murray Cumming <murrayc@murrayc.com> * gio/src/fileinfo.hg: FileAttributeMatcher::create(): Add a default value and documentation. * gio/src/file.ccg: * gio/src/file.hg: * gio/src/mount.ccg: * gio/src/mount.hg: const corrections for Slot* and Cancellable parameters. svn path=/trunk/; revision=525
* Added unmount(), remount(), and eject(), based on code from JoséMurray Cumming2008-01-181-1/+150
| | | | | | | | | | | 2008-01-18 Murray Cumming <murrayc@murrayc.com> * gio/src/mount.ccg: * gio/src/mount.hg: Added unmount(), remount(), and eject(), based on code from José Alburquerque in bug #510080. * gio/src/volume.hg: Added documentation. svn path=/trunk/; revision=523
* eject(),Murray Cumming2008-01-171-0/+2
| | | | | | | | | | | | | | | | | | 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
* Added Mount and VolumeMonitor. Regenerated.Murray Cumming2008-01-161-0/+27
2008-01-16 Murray Cumming <murrayc@murrayc.com> * tools/extra_defs_gen/generate_defs_gio.cc: Added Mount and VolumeMonitor. * gio/src/gio_signals.defs: Regenerated. * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/mount.ccg: * gio/src/mount.hg: Added Mount * gio/src/volumemonitor.hg: * gio/src/volumemonitor.ccg: Added VolumeMonitor. * tools/m4/convert_gio.m4: Added necessary conversions. svn path=/trunk/; revision=516