Chat-O-Matic/application/views/RenderView.h
Jaidyn Ann b8de54d9bc Single Append() for sections with unchanged format
Also removes the newly-unused AppendMessage() of RenderView
2021-08-17 22:19:28 -05:00

25 lines
515 B
C++

/*
* 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
#include <librunview/RunView.h>
class RenderView : public RunView {
public:
RenderView(const char* name);
void AppendGeneric(const char* message);
void AppendUserstamp(const char* nick, rgb_color nameColor);
void AppendTimestamp(time_t time = 0);
private:
int fLastDay;
int fLastYear;
};
#endif // _RENDER_VIEW_H