-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPcxLoader.cpp
82 lines (65 loc) · 2.45 KB
/
PcxLoader.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*******************************************************************************
* FILE NAME: PcxLoader.cpp *
* *
* DESCRIPTION: *
* Class implementation of the class: *
* PcxLoader- Loads PCX files *
* ---------------------------------------------------------------------------- *
* Warning: This file was generated by the VisualAge C++ Visual Builder. *
* Modifications to this source file will be lost when the part is regenerated. *
*******************************************************************************/
#ifndef _INOTIFEV_
#include <inotifev.hpp>
#endif
#ifndef _IOBSERVR_
#include <iobservr.hpp>
#endif
#ifndef _ISTDNTFY_
#include <istdntfy.hpp>
#endif
#ifndef _PCXLOADER_
#include "PcxLoader.hpp"
#endif
#ifndef _IVBDEFS_
#include <ivbdefs.h>
#endif
#ifndef _ITRACE_
#include <itrace.hpp>
#endif
#pragma export (PcxLoader::readyId)
const INotificationId PcxLoader::readyId = "PcxLoader::readyId";
//------------------------------------------------------------------------------
// PcxLoader :: PcxLoader
//------------------------------------------------------------------------------
#pragma export (PcxLoader::PcxLoader())
PcxLoader::PcxLoader()
{
} //end constructor
//------------------------------------------------------------------------------
// PcxLoader :: ~PcxLoader
//------------------------------------------------------------------------------
#pragma export (PcxLoader::~PcxLoader())
PcxLoader::~PcxLoader()
{
delete iPcxFile;
}
//------------------------------------------------------------------------------
// PcxLoader :: initializePart
//------------------------------------------------------------------------------
#pragma export (PcxLoader::initializePart())
PcxLoader & PcxLoader::initializePart()
{
makeConnections();
notifyObservers(INotificationEvent(readyId, *this));
return *this;
}
//------------------------------------------------------------------------------
// PcxLoader :: makeConnections
//------------------------------------------------------------------------------
#pragma export (PcxLoader::makeConnections())
Boolean PcxLoader::makeConnections()
{
this->enableNotification();
return true;
}
#include "PcxLoader.cpv"