Files
firestorm/build-env/VisualStudio6/VC98/Include/CHPROP.H
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

85 lines
2.5 KiB
C++

/***********************************************************************
** C P R O P . H *
** *
************************************************************************
** Copyright (C) 1996 by Microsoft Corporation *
** All Rights Reserved *
************************************************************************/
/*
CPROP.H
ChannelProperty record object class definitions for Microsoft Guide
*/
#ifndef _CPROP_H_
#define _CPROP_H_
#include "dbsets.h"
/*
ChannelProperty objects are constructed from database records of the ChannelProperty table.
The CChannelPropertyRecordset class is used to select and create CChannelProperty objects
from the ChannelProperty table via functions in the CDatabaseRecordset parent class.
*/
class COMMMSTVEXPORT CChannelPropertyRecordset : public CDatabaseRecordset
{
// This class provides ChannelProperty recordset manipulation via parent functions
virtual CString GetTableName( VOID);
virtual BOOL SetRecordsetObject( VOID* cRecordsetObject);
public:
virtual VOID* GetRecordsetObject( VOID);
virtual BOOLEAN Seek(LPCTSTR lpszComparison, CObject &coo);
};
class COMMMSTVEXPORT CChannelProperty : public CObject
{
friend class CChannelPropertyRecordset; // generates the CChannelProperty record object
private:
LONG m_lChannelID;
LONG m_lBroadcastPropertyID;
public:
CChannelProperty(LONG lChannelID = 0,
LONG lBroadcastPropertyID = 0) :
m_lChannelID(lChannelID),
m_lBroadcastPropertyID(lBroadcastPropertyID) { }
~CChannelProperty(VOID) { }
VOID SetChannelID( LONG lChannelID) { m_lChannelID = lChannelID; }
VOID SetBroadcastPropertyID( LONG lBroadcastPropertyID) { m_lBroadcastPropertyID = lBroadcastPropertyID; }
LONG ChannelID() { return m_lChannelID; }
LONG BroadcastPropertyID() { return m_lBroadcastPropertyID; }
};
// Table: Channel
#define TBL_ChannelProperty _T("[Channel Property]")
// Field: Name Type Size
#define FLD_ChannelProperty_ChannelID _T("CP Channel ID") // Long 4
#define FLD_ChannelProperty_BroadcastPropertyID _T("CP Broadcast Property ID") // Long 4
#endif