home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
po7_win
/
object10
/
posadv.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-17
|
926b
|
41 lines
/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */
/*
DESCRIPTION
position advisory class. this subclass of OAdvisory will
keep track of the absolute position within a dynaset
MODIFIED
kwhitley 10/18/94 Created
*/
#ifndef POSADV_ORACLE
#define POSADV_ORACLE
#ifndef ORACL_ORACLE
#include "oracl.h"
#endif
//--------------------------------------------------------------------
// our advise subclass (needed for AdviseTest)
class PosAdvise : public OAdvise
{
public:
PosAdvise(void);
~PosAdvise(void);
// to find out the dynaset position
long GetPosition(void) const;
// to be called by the class library machinery
oboolean ActionRequest(int movekind); // returns TRUE if action is allowed, FALSE to cancel
void ActionNotify(int movekind);
private:
long m_position;
};
#endif // POSADV