1// ContainerWindow.h
2// Generated by Interface Elements (Window v2.3) on Feb 14 2004
3// This is a user written class and will not be overwritten.
4
5#ifndef _CONTAINERWINDOW_H_
6#define _CONTAINERWINDOW_H_
7
8#include "IEWindow.h"
9#include "ContainerWindowDefs.h"
10#include "TPreferences.h"
11
12#include <Shelf.h>
13#include <Application.h>
14#include <stdio.h>
15#include <Beep.h>
16
17#define CLEAR_FILE			'clfM'
18#define TEST_REPLICANT	'terM'
19
20
21class ContainerWindow : public IEWindow
22{
23	public:
24									ContainerWindow(BPositionIO *stream);
25									~ContainerWindow(void);
26
27		virtual void 	MessageReceived(BMessage *message);
28		virtual bool 	QuitRequested();
29		virtual void 	MenusBeginning();
30						void	EnableRemoveButton(bool enable);
31						void	EnableTestButton(bool enable);
32
33	private:
34			BBox					*fMainView;
35			BShelf				*fShelf;
36			BPositionIO		*fArchiveStream;
37			BView					*fContainerView;
38			BButton				*fRemoveButton;
39			BButton				*fTestButton;
40			TPreferences	*fPrefs;
41
42
43						void 		CreateViewBitmap();
44						void  	GetPrefs();
45					  void		SetPrefs();
46};
47
48#endif
49