Logo Search packages:      
Sourcecode: ardour version File versions

Glib::ShellError Class Reference
[Shell-related Utilities]

#include <shell.h>

Inheritance diagram for Glib::ShellError:

List of all members.


Detailed Description

Exception class for shell utility errors.

Definition at line 47 of file shell.h.


Public Types

enum  Code { BAD_QUOTING, EMPTY_STRING, FAILED }
typedef void(* ThrowFunc )(GError *)

Public Member Functions

Code code () const
GQuark domain () const
const GError * gobj () const
GError * gobj ()
bool matches (GQuark domain, int code) const
void propagate (GError **dest)
 ShellError (GError *gobject)
 ShellError (Code error_code, const Glib::ustring &error_message)
virtual Glib::ustring what () const

Static Public Member Functions

static void register_cleanup ()
static void register_domain (GQuark domain, ThrowFunc throw_func)
static void register_init ()
static void throw_exception (GError *gobject) G_GNUC_NORETURN

Protected Attributes

GError * gobject_

Static Private Member Functions

static void throw_func (GError *gobject)

Friends

void wrap_init ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index