Bug 620582 - a simple GPermission implementation

add GSimplePermission, a trivial const implementation of GPermission

can-request and can-release are always false for this implementation and
the value of 'allowed' is decided at construction.
This commit is contained in:
Ryan Lortie
2010-06-04 22:32:01 +02:00
parent 0957f76878
commit 4733488178
8 changed files with 149 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ typedef struct _GConverterInputStream GConverterInputStream;
typedef struct _GConverterOutputStream GConverterOutputStream;
typedef struct _GDataInputStream GDataInputStream;
typedef struct _GPermission GPermission;
typedef struct _GSimplePermission GSimplePermission;
typedef struct _GZlibCompressor GZlibCompressor;
typedef struct _GZlibDecompressor GZlibDecompressor;