# GPGObject

> Inherits From:
>   NSObject

> Declared In:
>   GPGME/GPGObject.h

## Class Description

This abstract class takes care of uniquing instances against gpgme internal structures. It is the base class for all classes wrapping gpgme structures.

## Symbolic Constants

> #### Synopsis:

> `GPGOBJECT_H`

## Instance Variables

> `void *_internalRepresentation;`

> _internalRepresentation | Pointer to the gpgme internal structure wrapped by this instance

## Method Types

>   + initialize
>   - initWithInternalRepresentation:
>   - dealloc

## Class Methods

### initialize

`+ (void)initialize`

Initializes gpgme library sub-systems and insures that Cocoa is ready for multithreading. Can be invoked multiple times, initialization is done only once.

## Instance Methods

### dealloc

`- (void)dealloc`

WARNING: _internalRepresentation pointer MUST still be valid when -[GPGObject dealloc] method is called!!!

### initWithInternalRepresentation:

`- (id)initWithInternalRepresentation:(void *)aPtr`

Default initializer.

All subclasses must call this method. Can return another object than the one which received the message! In this case the original object is released.

Version 1.1 Copyright ©2005 by Mac GPG Project. All Rights Reserved. Sun Jan 23 16:54:42 2005