You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
16 lines
389 B
#pragma once
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "appevent.hpp"
|
|
namespace iflytop {
|
|
using namespace std;
|
|
|
|
static inline AppEvent createStateDisplayInfoEvent(const char* info) {
|
|
AppEvent event;
|
|
event.type = kAppEvent_StateDisplayInfo;
|
|
strncpy(event.d.stateDisplayInfo, info, sizeof(event.d.stateDisplayInfo));
|
|
return event;
|
|
}
|
|
} // namespace iflytop
|