/*
 * Go2Object.h
 * 
 * Gocator system communication library
 * Copyright (C) 2010 by LMI Technologies Inc.
 * 
 * Licensed under The MIT License.
 * Redistributions of files must retain the above copyright notice.
 */
#ifndef LMITECH_GO2_OBJECT_H_INCLUDED
#define LMITECH_GO2_OBJECT_H_INCLUDED

#include <Go2Api.h>
#include <Go2ApiBegin.h>

typedef Go2Handle Go2Object;        // Root of inheritance hierarchy.

GO2_EXPORT(Go2Type) Go2Object_Type(Go2Object object); //
//
//  Description:
//      Gets the type identifier for the specified object.
//  Arguments:
//      object - Go2Object instance.
//  Returns:
//      Type identifier. 

GO2_EXPORT(Go2Status) Go2Object_Destroy(Go2Object object); //
//
//  Description:
//      Destroys the specified object.
//  Arguments:
//      object - Go2Object instance (or GO2_NIL). 
//  Returns:
//      Operation status. 

#include <Go2ApiEnd.h>

#endif      /* #ifndef LMITECH_GO2_OBJECT_H_INCLUDED */

