home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
profile
/
advprof
/
appview.hpp
< prev
next >
Wrap
Text File
|
1996-10-29
|
1KB
|
46 lines
#ifndef _APPVIEW_
#define _APPVIEW_
//************************************************************
// GUI Profile Viewer Example
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// Copyright (c) 1997 John Wiley & Sons, Inc.
// All Rights Reserved.
//************************************************************
#include <icnrhdr.hpp>
#include "profobj.hpp"
#include "enhprof.hpp"
class ProfileAppObject : public ProfileObject {
public:
ProfileAppObject ( EnhancedProfile &profile,
const IString &appName,
IContainerControl *cnr );
virtual ProfileObjectView
*newView ( );
virtual ProfileApplication
&application ( );
private:
ProfileApplication
app;
};
class ApplicationView : public ProfileObjectView {
public:
ApplicationView ( ProfileAppObject &appObj );
protected:
virtual ApplicationView
&populate ( );
static IContainerControl
*clientWindow ( );
private:
ICnrHandler
handler;
ProfileAppObject
&appObj;
ApplicationView(const ApplicationView&);
ApplicationView operator=(const ApplicationView&);
};
#endif // _APPVIEW_