Config.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Introjucer!
  4. Be careful when adding custom code to these files, as only the code within
  5. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  6. and re-saved.
  7. Created with Introjucer version: 3.1.1
  8. ------------------------------------------------------------------------------
  9. The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright 2004-13 by Raw Material Software Ltd.
  11. ==============================================================================
  12. */
  13. #ifndef _CONFIG_H_
  14. #define _CONFIG_H_
  15. //[Headers] -- You can add your own extra header files here --
  16. #include "ConfigAudio.h"
  17. #include "ConfigClient.h"
  18. #include "ConfigGui.h"
  19. #include "ConfigBlacklist.h"
  20. //[/Headers]
  21. //==============================================================================
  22. /**
  23. //[Comments]
  24. Config is the configuration screen
  25. specific configuration options are distriibuted across several tabs
  26. //[/Comments]
  27. */
  28. class Config : public Component,
  29. public Value::Listener,
  30. public Button::Listener
  31. {
  32. public:
  33. //==============================================================================
  34. Config (ValueTree audio_store, ValueTree client_store, ValueTree gui_store, ValueTree blacklist_store, Value linjam_status);
  35. ~Config();
  36. //==============================================================================
  37. //[UserMethods] -- You can add your own custom methods in this section.
  38. //[/UserMethods]
  39. void paint (Graphics& g);
  40. void resized();
  41. void buttonClicked (Button* buttonThatWasClicked);
  42. private:
  43. //[UserVariables] -- You can add your own custom variables in this section.
  44. ScopedPointer<ConfigAudio> configAudio ;
  45. ScopedPointer<ConfigClient> configClient ;
  46. ScopedPointer<ConfigGui> configGui ;
  47. ScopedPointer<ConfigBlacklist> configBlacklist ;
  48. // ConfigAudio* configAudio ;
  49. // ConfigClient* configClient ;
  50. // ConfigGui* configGui ;
  51. // ConfigBlacklist* configBlacklist ;
  52. void valueChanged(Value& a_value) ;
  53. Value linjamStatus ;
  54. //[/UserVariables]
  55. //==============================================================================
  56. ScopedPointer<TabbedComponent> configTabs;
  57. ScopedPointer<TextButton> dismissButton;
  58. //==============================================================================
  59. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Config)
  60. };
  61. //[EndFile] You can add extra defines here...
  62. //[/EndFile]
  63. #endif // _CONFIG_H_