Quantum Fog  0.9.3
UModalDialogsPlus.h
1 #pragma once
2 # include <UModalDialogs.h>
3 
5 {
6 private:
7  LCommander * its_target_p;
8 public:
9  C_ST_TARGET(){its_target_p = LCommander::GetTarget();}
10  ~C_ST_TARGET(){LCommander::SwitchTarget(its_target_p);}
11 };
12 // ===========================================================================
13 
14 class StDialogHandlerPlus: public StDialogHandler
15 {
16 public:
17  StDialogHandlerPlus(ResIDT inDialogResID, LCommander * inSuper);
18  virtual void DoDialogPlus(MessageT & ioMessage, SInt32 & ioParam);
19  virtual void ListenToMessage(MessageT inMessage, void * ioParam);
20 protected:
21  SInt32 mParam;
22 };
23 // ===========================================================================
24 
25 class UModalDialogsPlus: public UModalDialogs {
26 public:
27  static bool AskForPermission(
28  LCommander* inSuper,
29  ResIDT inDialogID,
30  PaneIDT inCaptionID,
31  const LStr255& inMessage);
32 };
Definition: UModalDialogsPlus.h:25
Definition: UModalDialogsPlus.h:4
Definition: UModalDialogsPlus.h:14