IPViewItem.h File Reference

Interface for PViewItem. More...

#include "PFExport.h"
#include "..\object.h"

Go to the source code of this file.

Classes

class   IPViewItem

Defines

#define  PVIEWITEM_INTERFACE   Interface_ID(0x74f93d08, 0x1eb34500)
#define  GetPViewItemInterface(obj)   ((IPViewItem*)((GetPFObject(obj))->GetInterface(PVIEWITEM_INTERFACE)))

Enumerations

enum   { kActionImageWidth = 22, kActionImageHeight = 22 }

Functions

PFExport Object GetPFObject (Object *obj)
IPViewItem PViewItemInterface (Object *obj)
IPViewItem PViewItemInterface (INode *node)

Detailed Description

Interface for PViewItem.

An Action should implement the interface to be modifiable in Particle View.

Definition in file IPViewItem.h.


Define Documentation

#define PVIEWITEM_INTERFACE   Interface_ID(0x74f93d08, 0x1eb34500)

Definition at line 21 of file IPViewItem.h.

#define GetPViewItemInterface (   obj )    ((IPViewItem*)((GetPFObject(obj))->GetInterface(PVIEWITEM_INTERFACE)))

Definition at line 22 of file IPViewItem.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
kActionImageWidth 
kActionImageHeight 

Definition at line 25 of file IPViewItem.h.

{  kActionImageWidth=22, kActionImageHeight=22 }; // in pixels

Function Documentation

PFExport Object* GetPFObject ( Object obj )
IPViewItem* PViewItemInterface ( Object obj ) [inline]

Definition at line 190 of file IPViewItem.h.

                                                   {
    return ((obj == NULL) ? NULL : GetPViewItemInterface(obj));
};
IPViewItem* PViewItemInterface ( INode node ) [inline]

Definition at line 194 of file IPViewItem.h.

                                                   {
    return ((node == NULL) ? NULL : PViewItemInterface(node->GetObjectRef()));
};