2021-07-14 13:17:00 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
|
|
|
#ifndef _RENDER_VIEW_H
|
|
|
|
#define _RENDER_VIEW_H
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-05-19 16:12:19 -05:00
|
|
|
#include <librunview/RunView.h>
|
|
|
|
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-07-14 13:17:00 -05:00
|
|
|
class RenderView : public RunView {
|
|
|
|
public:
|
|
|
|
RenderView(const char* name);
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-07-25 11:28:07 -05:00
|
|
|
void AppendGeneric(const char* message);
|
2021-08-13 12:39:47 -05:00
|
|
|
void AppendUserstamp(const char* nick, rgb_color nameColor);
|
2021-07-14 13:17:00 -05:00
|
|
|
void AppendTimestamp(time_t time = 0);
|
2021-07-25 11:28:07 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
int fLastDay;
|
|
|
|
int fLastYear;
|
2010-05-07 04:47:10 -05:00
|
|
|
};
|
|
|
|
|
2021-07-14 13:17:00 -05:00
|
|
|
#endif // _RENDER_VIEW_H
|