2007-08-06 02:02:39 +00:00
|
|
|
/*******************************************************/
|
|
|
|
/* class_module.h : module description (excepted pads) */
|
|
|
|
/*******************************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2011-08-01 15:29:27 +00:00
|
|
|
#ifndef _MODULE_H_
|
|
|
|
#define _MODULE_H_
|
|
|
|
|
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
class Pcb3D_GLCanvas;
|
2008-12-06 08:21:54 +00:00
|
|
|
class S3D_MASTER;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2011-01-14 17:43:30 +00:00
|
|
|
#include "richio.h"
|
|
|
|
|
2011-08-01 15:29:27 +00:00
|
|
|
|
2007-08-06 02:02:39 +00:00
|
|
|
/************************************/
|
|
|
|
/* Modules (footprints) description */
|
|
|
|
/* pad are in class_pad.xx */
|
|
|
|
/************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-11-12 15:43:38 +00:00
|
|
|
enum Mod_Attribut /* Attributes used for modules */
|
2007-06-15 16:08:55 +00:00
|
|
|
{
|
|
|
|
MOD_DEFAULT = 0, /* Type default */
|
2008-10-29 15:26:53 +00:00
|
|
|
MOD_CMS = 1, /* Set for modules listed in the automatic insertion list
|
|
|
|
* (usually SMD footprints) */
|
2009-11-12 15:43:38 +00:00
|
|
|
MOD_VIRTUAL = 2 /* Virtual component: when created by copper shapes on
|
|
|
|
* board (Like edge card connectors, mounting hole...) */
|
2007-06-15 16:08:55 +00:00
|
|
|
};
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-08-07 06:21:19 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
/* flags for autoplace and autoroute (.m_ModuleStatus member) */
|
2009-11-12 15:43:38 +00:00
|
|
|
#define MODULE_is_LOCKED 0x01 /* module LOCKED: no autoplace allowed */
|
|
|
|
#define MODULE_is_PLACED 0x02 /* In autoplace: module automatically placed */
|
|
|
|
#define MODULE_to_PLACE 0x04 /* In autoplace: module waiting for autoplace */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-08-23 04:28:46 +00:00
|
|
|
class MODULE : public BOARD_ITEM
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
|
|
|
public:
|
2009-11-12 15:43:38 +00:00
|
|
|
wxPoint m_Pos; // Real coord on board
|
|
|
|
DLIST<D_PAD> m_Pads; /* Pad list (linked list) */
|
|
|
|
DLIST<BOARD_ITEM> m_Drawings; /* Graphic items list (linked list) */
|
|
|
|
DLIST<S3D_MASTER> m_3D_Drawings; /* First item of the 3D shapes (linked
|
|
|
|
* list)*/
|
|
|
|
TEXTE_MODULE* m_Reference; // Component reference (U34, R18..)
|
|
|
|
TEXTE_MODULE* m_Value; // Component value (74LS00, 22K..)
|
|
|
|
wxString m_LibRef; /* Name of the module in library (and
|
|
|
|
* the default value when loading a
|
|
|
|
*module from the library) */
|
|
|
|
wxString m_AlternateReference; /* Used when m_Reference cannot
|
|
|
|
* be used to identify the
|
|
|
|
* footprint ( after a full
|
|
|
|
* reannotation of the schematic */
|
|
|
|
|
|
|
|
int m_Attributs; /* Flag bits ( see Mod_Attribut ) */
|
2008-10-29 15:26:53 +00:00
|
|
|
int m_Orient; /* orientation in 0.1 degrees */
|
2009-11-12 15:43:38 +00:00
|
|
|
int flag; /* Use to trace rastnest and auto
|
|
|
|
* routing. */
|
|
|
|
int m_ModuleStatus; /* For autoplace: flags (LOCKED,
|
|
|
|
* AUTOPLACED) */
|
2011-03-29 19:33:07 +00:00
|
|
|
EDA_RECT m_BoundaryBox; /* Bounding box coordinates relatives
|
2009-11-12 15:43:38 +00:00
|
|
|
* to the anchor, orient 0*/
|
2011-03-29 19:33:07 +00:00
|
|
|
EDA_RECT m_RealBoundaryBox; /* Bounding box : coordinates on board,
|
2009-11-12 15:43:38 +00:00
|
|
|
* real orientation */
|
2008-10-29 15:26:53 +00:00
|
|
|
int m_PadNum; // Pad count
|
2009-11-12 15:43:38 +00:00
|
|
|
int m_AltPadNum; /* Pad with netcode > 0 (active pads)
|
|
|
|
* count */
|
|
|
|
|
|
|
|
int m_CntRot90; /* Automatic placement : cost ( 0..10 )
|
|
|
|
* for 90 degrees rotation
|
|
|
|
* (Horiz<->Vertical) */
|
|
|
|
int m_CntRot180; /* Automatic placement : cost ( 0..10 )
|
|
|
|
* for 180 degrees rotation
|
|
|
|
* (UP <->Down) */
|
|
|
|
wxSize m_Ext; /* Automatic placement margin around
|
|
|
|
* the module */
|
2010-07-11 16:24:44 +00:00
|
|
|
double m_Surface; // Bounding box area
|
2008-10-29 15:26:53 +00:00
|
|
|
|
2009-11-12 15:43:38 +00:00
|
|
|
unsigned long m_Link; /* Temporary variable ( used in
|
|
|
|
* editions, ...) */
|
|
|
|
long m_LastEdit_Time;
|
2008-03-31 13:43:54 +00:00
|
|
|
wxString m_Path;
|
2007-08-06 02:02:39 +00:00
|
|
|
|
2008-10-29 15:26:53 +00:00
|
|
|
wxString m_Doc; // Module Description (info for users)
|
|
|
|
wxString m_KeyWord; // Keywords to select the module in lib
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-12 15:43:38 +00:00
|
|
|
// Local clearance. When null, the netclasses values are used. Usually
|
|
|
|
// the local clearance is null
|
2009-11-04 19:08:08 +00:00
|
|
|
int m_LocalClearance;
|
|
|
|
|
|
|
|
// Local mask margins: when NULL, the global design values are used
|
2009-11-12 15:43:38 +00:00
|
|
|
int m_LocalSolderMaskMargin; // Solder mask margin
|
|
|
|
int m_LocalSolderPasteMargin; /* Solder paste margin
|
|
|
|
* absolute value */
|
|
|
|
double m_LocalSolderPasteMarginRatio; /* Solder mask margin ratio
|
|
|
|
* value of pad size */
|
2009-11-04 19:08:08 +00:00
|
|
|
// The final margin is the sum of these 2 values
|
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
public:
|
2007-08-06 02:02:39 +00:00
|
|
|
MODULE( BOARD* parent );
|
|
|
|
MODULE( MODULE* module );
|
2007-09-01 12:00:30 +00:00
|
|
|
~MODULE();
|
2007-08-06 02:02:39 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
MODULE* Next() const { return (MODULE*) Pnext; }
|
|
|
|
MODULE* Back() const { return (MODULE*) Pback; }
|
2008-11-24 06:53:43 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
void Copy( MODULE* Module ); // Copy structure
|
2007-06-15 16:08:55 +00:00
|
|
|
|
|
|
|
|
2010-12-29 17:47:32 +00:00
|
|
|
/*
|
2008-11-24 06:53:43 +00:00
|
|
|
* Function Add
|
|
|
|
* adds the given item to this MODULE and takes ownership of its memory.
|
|
|
|
* @param aBoardItem The item to add to this board.
|
|
|
|
* @param doInsert If true, then insert, else append
|
2009-11-04 19:08:08 +00:00
|
|
|
* void Add( BOARD_ITEM* aBoardItem, bool doInsert = true );
|
2008-11-24 06:53:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2010-11-12 16:59:16 +00:00
|
|
|
* Function Set_Rectangle_Encadrement
|
2009-11-12 15:43:38 +00:00
|
|
|
* calculates the bounding box for orient 0 at origin = module anchor)
|
2008-11-24 06:53:43 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
void Set_Rectangle_Encadrement();
|
2007-06-15 16:08:55 +00:00
|
|
|
|
2010-11-12 15:17:10 +00:00
|
|
|
/**
|
2010-11-12 16:59:16 +00:00
|
|
|
* Function SetRectangleExinscrit
|
2009-11-12 15:43:38 +00:00
|
|
|
* Calculates the real bounding box according to the board position,
|
|
|
|
* and real orientation and also calculates the area value (used in
|
|
|
|
* automatic placement)
|
2008-10-29 15:26:53 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
void SetRectangleExinscrit();
|
2008-11-24 06:53:43 +00:00
|
|
|
|
2010-12-10 19:47:44 +00:00
|
|
|
/**
|
|
|
|
* Function GetFootPrintRect()
|
|
|
|
* Returns the area of the module footprint excluding any text.
|
|
|
|
*/
|
2011-03-29 19:33:07 +00:00
|
|
|
EDA_RECT GetFootPrintRect() const;
|
2010-12-10 19:47:44 +00:00
|
|
|
|
2008-03-13 10:08:42 +00:00
|
|
|
/**
|
|
|
|
* Function GetBoundingBox
|
|
|
|
* returns the bounding box of this Footprint
|
2009-11-12 15:43:38 +00:00
|
|
|
* Mainly used to redraw the screen area occupied by the footprint
|
2008-03-13 10:08:42 +00:00
|
|
|
*/
|
2011-03-29 19:33:07 +00:00
|
|
|
EDA_RECT GetBoundingBox() const;
|
2007-06-15 16:08:55 +00:00
|
|
|
|
2007-12-01 03:42:52 +00:00
|
|
|
/**
|
|
|
|
* Function GetPosition
|
|
|
|
* returns the position of this object.
|
|
|
|
* Required by pure virtual BOARD_ITEM::GetPosition()
|
|
|
|
* @return const wxPoint& - The position of this object.
|
|
|
|
*/
|
|
|
|
wxPoint& GetPosition()
|
|
|
|
{
|
|
|
|
return m_Pos;
|
|
|
|
}
|
|
|
|
|
2008-10-29 15:26:53 +00:00
|
|
|
// Moves
|
2009-11-04 19:08:08 +00:00
|
|
|
void SetPosition( const wxPoint& newpos );
|
|
|
|
void SetOrientation( int newangle );
|
|
|
|
|
2009-08-01 19:26:05 +00:00
|
|
|
/**
|
|
|
|
* Function Move
|
|
|
|
* move this object.
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aMoveVector - the move vector for this object.
|
2009-08-01 19:26:05 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
virtual void Move( const wxPoint& aMoveVector );
|
2007-06-15 16:08:55 +00:00
|
|
|
|
2009-08-01 19:26:05 +00:00
|
|
|
/**
|
|
|
|
* Function Rotate
|
|
|
|
* Rotate this object.
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aRotCentre - the rotation point.
|
2009-08-01 19:26:05 +00:00
|
|
|
* @param aAngle - the rotation angle in 0.1 degree.
|
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
virtual void Rotate( const wxPoint& aRotCentre, int aAngle );
|
2009-08-01 19:26:05 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Function Flip
|
|
|
|
* Flip this object, i.e. change the board side for this object
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aCentre - the rotation point.
|
2009-08-01 19:26:05 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
virtual void Flip( const wxPoint& aCentre );
|
2007-06-15 16:08:55 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Function IsLocked
|
2008-01-20 19:55:22 +00:00
|
|
|
* (virtual from BOARD_ITEM )
|
2010-12-29 17:47:32 +00:00
|
|
|
* @return bool - true if the MODULE is locked, else false
|
2007-06-15 16:08:55 +00:00
|
|
|
*/
|
2007-08-24 03:40:04 +00:00
|
|
|
bool IsLocked() const
|
2007-06-15 16:08:55 +00:00
|
|
|
{
|
|
|
|
return (m_ModuleStatus & MODULE_is_LOCKED) != 0;
|
|
|
|
}
|
|
|
|
|
2007-08-06 02:02:39 +00:00
|
|
|
|
2007-06-15 16:08:55 +00:00
|
|
|
/**
|
|
|
|
* Function SetLocked
|
|
|
|
* sets the MODULE_is_LOCKED bit in the m_ModuleStatus
|
2007-08-06 02:02:39 +00:00
|
|
|
* @param setLocked When true means turn on locked status, else unlock
|
2007-06-15 16:08:55 +00:00
|
|
|
*/
|
|
|
|
void SetLocked( bool setLocked )
|
|
|
|
{
|
|
|
|
if( setLocked )
|
|
|
|
m_ModuleStatus |= MODULE_is_LOCKED;
|
|
|
|
else
|
|
|
|
m_ModuleStatus &= ~MODULE_is_LOCKED;
|
|
|
|
}
|
|
|
|
|
2007-08-06 02:02:39 +00:00
|
|
|
|
2007-08-24 03:40:04 +00:00
|
|
|
/* Reading and writing data on files */
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2007-10-30 21:30:58 +00:00
|
|
|
/**
|
|
|
|
* Function Save
|
2009-11-12 15:43:38 +00:00
|
|
|
* writes the data structures for this object out to a FILE in "*.brd"
|
|
|
|
* format.
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aFile The FILE to write to.
|
2007-10-30 21:30:58 +00:00
|
|
|
* @return bool - true if success writing else false.
|
2008-01-20 19:55:22 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
bool Save( FILE* aFile ) const;
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
int Write_3D_Descr( FILE* File ) const;
|
2011-01-14 17:43:30 +00:00
|
|
|
int ReadDescr( LINE_READER* aReader );
|
2008-03-31 13:43:54 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Function Read_GPCB_Descr
|
2008-11-24 06:53:43 +00:00
|
|
|
* reads a footprint description in GPCB format (newlib version)
|
2008-03-31 13:43:54 +00:00
|
|
|
* @param CmpFullFileName = Full file name (there is one footprint per file.
|
|
|
|
* this is also the footprint name
|
2008-03-10 08:14:20 +00:00
|
|
|
* @return bool - true if success reading else false.
|
2008-03-31 13:43:54 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
bool Read_GPCB_Descr( const wxString& CmpFullFileName );
|
2011-01-14 17:43:30 +00:00
|
|
|
int Read_3D_Descr( LINE_READER* aReader );
|
2007-06-15 16:08:55 +00:00
|
|
|
|
|
|
|
/* drawing functions */
|
2009-11-04 19:08:08 +00:00
|
|
|
|
2010-11-12 15:17:10 +00:00
|
|
|
/**
|
|
|
|
* Function Draw
|
2009-11-12 15:43:38 +00:00
|
|
|
* Draw the text according to the footprint pos and orient
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aPanel = draw panel, Used to know the clip box
|
|
|
|
* @param aDC = Current Device Context
|
2008-04-01 05:21:50 +00:00
|
|
|
* @param aDrawMode = GR_OR, GR_XOR..
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aOffset = draw offset (usually wxPoint(0,0)
|
2008-03-31 13:43:54 +00:00
|
|
|
*/
|
2011-01-21 19:30:59 +00:00
|
|
|
void Draw( EDA_DRAW_PANEL* aPanel,
|
|
|
|
wxDC* aDC,
|
|
|
|
int aDrawMode,
|
|
|
|
const wxPoint& aOffset = ZeroOffset );
|
2008-04-01 05:21:50 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
void Draw3D( Pcb3D_GLCanvas* glcanvas );
|
2011-01-21 19:30:59 +00:00
|
|
|
void DrawEdgesOnly( EDA_DRAW_PANEL* panel, wxDC* DC, const wxPoint& offset, int draw_mode );
|
|
|
|
void DrawAncre( EDA_DRAW_PANEL* panel, wxDC* DC,
|
2009-11-04 19:08:08 +00:00
|
|
|
const wxPoint& offset, int dim_ancre, int draw_mode );
|
2007-06-15 16:08:55 +00:00
|
|
|
|
2007-08-20 19:33:15 +00:00
|
|
|
/**
|
2009-04-17 08:51:02 +00:00
|
|
|
* Function DisplayInfo
|
2007-08-20 19:33:15 +00:00
|
|
|
* has knowledge about the frame and how and where to put status information
|
|
|
|
* about this object into the frame's message panel.
|
2011-01-21 19:30:59 +00:00
|
|
|
* @param frame A EDA_DRAW_FRAME in which to print status information.
|
2008-01-20 19:55:22 +00:00
|
|
|
*/
|
2011-01-21 19:30:59 +00:00
|
|
|
void DisplayInfo( EDA_DRAW_FRAME* frame );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2007-08-08 03:50:44 +00:00
|
|
|
/**
|
|
|
|
* Function HitTest
|
|
|
|
* tests if the given wxPoint is within the bounds of this object.
|
|
|
|
* @param refPos A wxPoint to test
|
|
|
|
* @return bool - true if a hit, else false
|
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
bool HitTest( const wxPoint& refPos );
|
2007-08-08 03:50:44 +00:00
|
|
|
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2007-08-24 03:40:04 +00:00
|
|
|
/**
|
2009-11-12 15:43:38 +00:00
|
|
|
* Function HitTest (overlaid)
|
2011-03-29 19:33:07 +00:00
|
|
|
* tests if the given EDA_RECT intersect the bounds of this object.
|
|
|
|
* @param refArea : the given EDA_RECT
|
2008-01-06 12:43:57 +00:00
|
|
|
* @return bool - true if a hit, else false
|
|
|
|
*/
|
2011-03-29 19:33:07 +00:00
|
|
|
bool HitTest( EDA_RECT& refArea );
|
2008-01-06 12:43:57 +00:00
|
|
|
|
2008-01-20 19:55:22 +00:00
|
|
|
/**
|
2007-08-24 03:40:04 +00:00
|
|
|
* Function GetReference
|
2008-01-29 22:09:09 +00:00
|
|
|
* @return const wxString& - the reference designator text.
|
2007-08-24 03:40:04 +00:00
|
|
|
*/
|
2011-07-14 15:42:44 +00:00
|
|
|
const wxString& GetReference() const
|
2007-08-24 03:40:04 +00:00
|
|
|
{
|
|
|
|
return m_Reference->m_Text;
|
|
|
|
}
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
|
2008-01-29 22:09:09 +00:00
|
|
|
/**
|
|
|
|
* Function GetValue
|
|
|
|
* @return const wxString& - the value text.
|
|
|
|
*/
|
|
|
|
const wxString& GetValue()
|
|
|
|
{
|
|
|
|
return m_Value->m_Text;
|
|
|
|
}
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2008-03-04 04:22:27 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Function FindPadByName
|
|
|
|
* returns a D_PAD* with a matching name. Note that names may not be
|
|
|
|
* unique, depending on how the foot print was created.
|
2010-12-29 17:47:32 +00:00
|
|
|
* @param aPadName the pad name to find
|
2009-11-12 15:43:38 +00:00
|
|
|
* @return D_PAD* - The first matching name is returned, or NULL if not
|
|
|
|
* found.
|
2008-03-04 04:22:27 +00:00
|
|
|
*/
|
2009-11-04 19:08:08 +00:00
|
|
|
D_PAD* FindPadByName( const wxString& aPadName ) const;
|
2008-03-04 04:22:27 +00:00
|
|
|
|
|
|
|
|
2007-08-09 21:15:08 +00:00
|
|
|
/**
|
|
|
|
* Function Visit
|
|
|
|
* should be re-implemented for each derived class in order to handle
|
|
|
|
* all the types given by its member data. Implementations should call
|
|
|
|
* inspector->Inspect() on types in scanTypes[], and may use IterateForward()
|
|
|
|
* to do so on lists of such data.
|
|
|
|
* @param inspector An INSPECTOR instance to use in the inspection.
|
|
|
|
* @param testData Arbitrary data used by the inspector.
|
2008-01-20 19:55:22 +00:00
|
|
|
* @param scanTypes Which KICAD_T types are of interest and the order
|
2007-08-09 21:15:08 +00:00
|
|
|
* is significant too, terminated by EOT.
|
|
|
|
* @return SEARCH_RESULT - SEARCH_QUIT if the Iterator is to stop the scan,
|
|
|
|
* else SCAN_CONTINUE;
|
|
|
|
*/
|
2008-01-20 19:55:22 +00:00
|
|
|
SEARCH_RESULT Visit( INSPECTOR* inspector, const void* testData,
|
|
|
|
const KICAD_T scanTypes[] );
|
|
|
|
|
|
|
|
|
2007-08-07 06:21:19 +00:00
|
|
|
/**
|
|
|
|
* Function GetClass
|
|
|
|
* returns the class name.
|
|
|
|
* @return wxString
|
|
|
|
*/
|
|
|
|
virtual wxString GetClass() const
|
|
|
|
{
|
|
|
|
return wxT( "MODULE" );
|
|
|
|
}
|
|
|
|
|
2011-07-14 15:42:44 +00:00
|
|
|
virtual wxString GetSelectMenuText() const;
|
2008-01-20 19:55:22 +00:00
|
|
|
|
2011-08-29 03:04:59 +00:00
|
|
|
virtual BITMAP_DEF GetMenuImage() const { return module_xpm; }
|
2011-08-01 15:29:27 +00:00
|
|
|
|
2009-11-04 19:08:08 +00:00
|
|
|
#if defined(DEBUG)
|
2008-01-20 19:55:22 +00:00
|
|
|
|
|
|
|
/**
|
2007-08-06 02:02:39 +00:00
|
|
|
* Function Show
|
|
|
|
* is used to output the object tree, currently for debugging only.
|
2008-01-20 19:55:22 +00:00
|
|
|
* @param nestLevel An aid to prettier tree indenting, and is the level
|
2007-08-06 02:02:39 +00:00
|
|
|
* of nesting of this object within the overall tree.
|
|
|
|
* @param os The ostream& to output to.
|
|
|
|
*/
|
|
|
|
virtual void Show( int nestLevel, std::ostream& os );
|
2007-08-06 20:26:59 +00:00
|
|
|
|
2007-08-06 02:02:39 +00:00
|
|
|
#endif
|
|
|
|
};
|
2011-08-01 15:29:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif // _MODULE_H_
|