RenderView.h 515 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
  3. * All rights reserved. Distributed under the terms of the MIT license.
  4. */
  5. #ifndef _RENDER_VIEW_H
  6. #define _RENDER_VIEW_H
  7. #include <librunview/RunView.h>
  8. class RenderView : public RunView {
  9. public:
  10. RenderView(const char* name);
  11. void AppendGeneric(const char* message);
  12. void AppendUserstamp(const char* nick, rgb_color nameColor);
  13. void AppendTimestamp(time_t time = 0);
  14. private:
  15. int fLastDay;
  16. int fLastYear;
  17. };
  18. #endif // _RENDER_VIEW_H