MainContent.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. ==============================================================================
  5. */
  6. #ifndef _MAIN_CONTENT_H_
  7. #define _MAIN_CONTENT_H_
  8. #include "JuceHeader.h"
  9. #include "Background.h"
  10. #include "Login.h"
  11. #include "License.h"
  12. #include "Chat.h"
  13. #include "Mixer.h"
  14. #include "StatusBar.h"
  15. #include "Loop.h"
  16. #include "Config.h"
  17. /** this is the main GUI container class */
  18. class MainContent : public Component , public ButtonListener
  19. {
  20. friend class LinJam ;
  21. public:
  22. MainContent(DocumentWindow* main_window , TextButton* config_button) ;
  23. ~MainContent() ;
  24. void paint(Graphics&) ;
  25. void resized() ;
  26. void showConfig() ;
  27. private:
  28. ScopedPointer<Background> background ;
  29. ScopedPointer<Login> login ;
  30. ScopedPointer<License> license ;
  31. ScopedPointer<Chat> chat ;
  32. ScopedPointer<Mixer> mixer ;
  33. ScopedPointer<StatusBar> statusbar ;
  34. ScopedPointer<Loop> loop ;
  35. ScopedPointer<Config> config ;
  36. DocumentWindow* mainWindow ;
  37. TextButton* configButton ;
  38. void buttonClicked( Button* a_button) ;
  39. void instantiateConfig(ValueTree audio_store , ValueTree client_store ,
  40. ValueTree subscriptions_store ) ;
  41. void setTitle( String title_text) ;
  42. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(MainContent)
  43. } ;
  44. #endif // _MAIN_CONTENT_H_