home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
autopsp.zip
/
LOC
/
OI.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-23
|
905b
|
35 lines
// CObjectInfo
//
// Class to hold object information
// We need a list of these, each of which holds a list of
// file names.
#include "e:\pspsrc\LList.h"
// File name structure
typedef struct {
char FileName[35];
}FN;
// Object information class
class CObjectInfo : private LList
{
public:
CObjectInfo(void);
void AddFile (char *filename);
int Count_OLOC(void); // Counts LOC in all it's files and
// stores value localy and returns value
void Print_OLOC(FILE *out);
void YourNameIs(char *name);
char *WhatIsYourName(void);
// Quest...
// Favorite Color...
private:
int OLOC;
int ONUMC;
int OMTHD;
char ObjectName[35]; // C++ only uniquely identifys at 32 by default
};