File indexing completed on 2024-04-06 12:11:32
0001 #ifndef Fireworks_Core_FWViewContext_h
0002 #define Fireworks_Core_FWViewContext_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include <sigc++/sigc++.h>
0023 #include <map>
0024 #include <string>
0025 #include "Rtypes.h"
0026
0027
0028
0029
0030 class FWViewEnergyScale;
0031
0032 class FWViewContext {
0033 public:
0034 FWViewContext();
0035 virtual ~FWViewContext();
0036
0037 FWViewEnergyScale* getEnergyScale() const;
0038 void setEnergyScale(FWViewEnergyScale*);
0039
0040 void scaleChanged();
0041
0042 mutable sigc::signal<void(const FWViewContext*)> scaleChanged_;
0043
0044 FWViewContext(const FWViewContext&) = delete;
0045
0046 const FWViewContext& operator=(const FWViewContext&) = delete;
0047
0048 private:
0049
0050
0051 FWViewEnergyScale* m_energyScale;
0052 };
0053
0054 #endif