MOA Developer's Guide
MOA Interfaces | MOA Methods | MOA Types and Misc API

IMoaRegister


Interface ID: IID_IMoaRegister
Pointer type: PIMoaRegister
Inheritance: IMoaUnknown
Header file: moastdif.h

Description


This standard Xtra interface must be implemented by at least one class of an Xtra for use in registering itself with an application. The Xtra must register each class and each interface implemented by each class. The Xtra must also store application-specific registry information in the cache through this interface. Xtras may also store custom information in the registry for use in initializing themselves or for other purposes.

See the IMoaCache, IMoaDict, and IMoaInitFromDict interfaces for additional information.

Methods

Register()

Register()

Syntax

Register(PIMoaRegisterThis,

PIMoaCachepCache,
PIMoaXtraEntryDictpXtraDict)

Parameters

This
Pointer to the IMoaRegister interface

pCache
PIMoaCacheIMoaCache interface provided by the application

pXtraDict
PIMoaXtraEntryDictIMoaXtraEntryDict interface for the Xtra's dictionary

Returns

Implement this method to provide registry information for the Xtra to the application. Each Xtra must register all classes and interfaces it provides, using the IMoaCache method AddRegistryEntry(). Each Xtra may also need to cache other application or interface-specific information within the implementation of this method.

Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.