openPSTD  2.0
Open source simulation for sound propagation in urban environments
MouseOperations.h
1 // This file is part of openPSTD. //
3 // //
4 // openPSTD is free software: you can redistribute it and/or modify //
5 // it under the terms of the GNU General Public License as published by //
6 // the Free Software Foundation, either version 3 of the License, or //
7 // (at your option) any later version. //
8 // //
9 // openPSTD is distributed in the hope that it will be useful, //
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12 // GNU General Public License for more details. //
13 // //
14 // You should have received a copy of the GNU General Public License //
15 // along with openPSTD. If not, see <http://www.gnu.org/licenses/>. //
16 // //
18 
20 //
21 // Date:
22 //
23 //
24 // Authors:
25 //
26 //
27 // Purpose:
28 //
29 //
31 
32 //
33 // Created by michiel on 24-8-2015.
34 //
35 
36 #ifndef OPENPSTD_MOUSEOPERATIONS_H
37 #define OPENPSTD_MOUSEOPERATIONS_H
38 
39 namespace OpenPSTD
40 {
41  namespace GUI
42  {
43  class ChangeMouseHandlerOperations;
44  }
45 }
46 
47 #include "BaseOperation.h"
48 #include "../MouseHandlers.h"
49 
50 namespace OpenPSTD
51 {
52  namespace GUI
53  {
55  {
56  private:
57  std::unique_ptr<MouseStrategy> mouseHandler;
58 
59  public:
60  ChangeMouseHandlerOperations(std::unique_ptr<MouseStrategy> mouseHandler);
61 
62  virtual void Run(const Reciever &reciever) override;
63  };
64  }
65 }
66 
67 #endif //OPENPSTD_MOUSEOPERATIONS_H
This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
Definition: MouseOperations.h:54
Definition: BaseOperation.h:61
Definition: BaseOperation.h:68