Initial semi-working windows implementation

This commit is contained in:
Samuel Attard 2017-04-24 00:18:31 +10:00
parent 5dd4d6a961
commit 7c38633d1e
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
9 changed files with 833 additions and 18 deletions

View file

@ -42,28 +42,29 @@ class Notification : public mate::TrackableObject<Notification>,
// Prop Getters
int GetID();
std::string GetTitle();
std::string GetBody();
base::string16 GetTitle();
base::string16 GetBody();
bool GetSilent();
std::string GetReplyPlaceholder();
base::string16 GetReplyPlaceholder();
bool GetHasReply();
// Prop Setters
void SetTitle(std::string new_title);
void SetBody(std::string new_body);
void SetTitle(base::string16 new_title);
void SetBody(base::string16 new_body);
void SetSilent(bool new_silent);
void SetReplyPlaceholder(std::string new_reply_placeholder);
void SetReplyPlaceholder(base::string16 new_reply_placeholder);
void SetHasReply(bool new_has_reply);
void NotifyPropsUpdated();
private:
std::string title_ = "";
std::string body_ = "";
base::string16 title_ = L"";
base::string16 body_ = L"";
gfx::Image icon_;
base::string16 icon_path_ = L"";
bool has_icon_ = false;
bool silent_ = false;
std::string reply_placeholder_ = "";
base::string16 reply_placeholder_ = L"";
bool has_reply_ = false;
int id_;