summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoderndevslulw <moderndevslulw@alright.party>2025-04-02 22:28:37 +0500
committermoderndevslulw <moderndevslulw@alright.party>2025-04-02 22:28:37 +0500
commit53a9a787698e9741958543d50f7d592835c12324 (patch)
tree5dd2a28772ff9b2eebfc84aa5a21da442854637c
initial commit
-rw-r--r--.clang-format6
-rw-r--r--.gitignore3
-rw-r--r--CMakeLists.txt11
-rw-r--r--LICENSE13
-rw-r--r--README.md3
-rw-r--r--include/emotespp/seventv.hpp7
-rw-r--r--src/seventv.cpp5
7 files changed, 48 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..f4a4dbe
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,6 @@
+---
+BasedOnStyle: Google
+FixNamespaceComments: 'false'
+NamespaceIndentation: All
+AccessModifierOffset: 0
+IndentAccessModifiers: true \ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b263cb4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+.vscode
+/.cache
+/build \ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..df9b1de
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 3.10)
+project(emotespp VERSION 1.0.0)
+
+set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+
+file(GLOB_RECURSE SRC_FILES "src/*.cpp")
+
+add_library(${PROJECT_NAME} STATIC ${SRC_FILES})
+target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") \ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..a99455e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+Copyright (C) 2025 moderndevsLULW <moderndevslulw@alright.party>
+
+Everyone is permitted to copy and distribute verbatim or modified
+copies of this license document, and changing it is allowed as long
+as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1a70c29
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# emotespp
+
+A C++17 library for Twitch emotes (as well as third-party emote providers such as 7TV and BetterTTV). \ No newline at end of file
diff --git a/include/emotespp/seventv.hpp b/include/emotespp/seventv.hpp
new file mode 100644
index 0000000..8a4149d
--- /dev/null
+++ b/include/emotespp/seventv.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+namespace emotespp {
+ class SevenTVEmoteListener {
+ SevenTVEmoteListener();
+ };
+} \ No newline at end of file
diff --git a/src/seventv.cpp b/src/seventv.cpp
new file mode 100644
index 0000000..1fae55e
--- /dev/null
+++ b/src/seventv.cpp
@@ -0,0 +1,5 @@
+#include "emotespp/seventv.hpp"
+
+namespace emotespp {
+ SevenTVEmoteListener::SevenTVEmoteListener() {}
+} \ No newline at end of file