File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,5 +18,15 @@ set (HEADERS
1818 ${INCLUDE_DIR} /gitrepublic.h
1919)
2020
21+ find_package (Qt6 REQUIRED COMPONENTS
22+ Core
23+ Network
24+ )
25+
2126add_executable (gitrepublic-core ${SOURCES} ${HEADERS} )
2227target_include_directories (gitrepublic-core PRIVATE ${INCLUDE_DIR} )
28+
29+ target_link_libraries (gitrepublic-core PRIVATE
30+ Qt6::Core
31+ Qt6::Network
32+ )
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eux
4+
5+ # ================ CLONE QT SOURCES ================
6+ git clone git@github.com:qt/qtbase.git
7+
8+ # ================ INSTALLING QT DEPENDENCIES ================
9+ sudo apt-get install -y qt6-base-dev
Original file line number Diff line number Diff line change 1+ #include < nostr.h>
2+
3+ class NostrClient {
4+ public:
5+ // Constructor
6+ NostrClient () {
7+ // TODO: Implement constructor
8+ }
9+
10+ // Destructor
11+ ~NostrClient () {
12+ // TODO: Implement destructor
13+ }
14+
15+ // Member functions
16+ void connect () {
17+ // TODO: Implement connect()
18+ }
19+
20+ void disconnect () {
21+ // TODO: Implement disconnect()
22+ }
23+
24+ void sendData (const std::string& data) {
25+ // TODO: Implement sendData()
26+ }
27+
28+ std::string receiveData () {
29+ // TODO: Implement receiveData()
30+ return " " ;
31+ }
32+
33+ // TODO: Add more member functions as needed
34+ };
You can’t perform that action at this time.
0 commit comments