From 286af713484fe94f0820c2388cac1427216f368b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piyush=20=E0=A4=AE=E0=A4=BF=E0=A4=B6=E0=A5=8D=E0=A4=B0?=
Date: Fri, 19 Aug 2022 14:18:41 +0530
Subject: [PATCH] Tags in Readme and license in files
---
README.md | 3 +++
src/dialog.rs | 14 ++++++++++++++
src/macros.rs | 14 ++++++++++++++
src/result_ext.rs | 15 ++++++++++++++-
4 files changed, 45 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d0b922b..4a0a69f 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,9 @@
+
+
+
> Post Maker helps you to make post for instagram and other social media apps easily and in massive amount.
## Installing
diff --git a/src/dialog.rs b/src/dialog.rs
index b6fbe7e..2aca064 100644
--- a/src/dialog.rs
+++ b/src/dialog.rs
@@ -1,3 +1,17 @@
+/*
+ This file is part of Post Maker.
+ Post Maker is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ Post Maker is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Post Maker. If not, see
+*/
+
pub(crate) use fltk::dialog::{color_chooser_with_default, ColorMode};
use fltk::{app::get_mouse, dialog};
diff --git a/src/macros.rs b/src/macros.rs
index 3dd30ad..fd6e789 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -1,3 +1,17 @@
+/*
+ This file is part of Post Maker.
+ Post Maker is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ Post Maker is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Post Maker. If not, see
+*/
+
#[macro_export]
macro_rules! rw_read {
($var:expr) => {
diff --git a/src/result_ext.rs b/src/result_ext.rs
index 77be7ad..1e6c1b3 100644
--- a/src/result_ext.rs
+++ b/src/result_ext.rs
@@ -1,6 +1,19 @@
-use std::{fmt::Debug, panic::Location};
+/*
+ This file is part of Post Maker.
+ Post Maker is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ Post Maker is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Post Maker. If not, see
+*/
use crate::utils;
+use std::{fmt::Debug, panic::Location};
pub trait ResultExt {
fn expect_log(self, msg: &str) -> T;