summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniil Rozanov <daniilrozzanov@gmail.com>2023-07-05 03:11:34 +0300
committerDaniil Rozanov <daniilrozzanov@gmail.com>2023-07-05 03:11:34 +0300
commitd3f11e3b7b86eda4733ece84294d9dc8da1d23bc (patch)
tree860fea9c8e63d0f62e28a513c0e50d2d7171a8d4 /examples
parentf51c3ac3f1c0cac99eb8cfe91b280d84f128cdc9 (diff)
Added declaration of connection class with connect and execute members. Created detail and impl folder. Created one example's fileHEADmain
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/connect.cpp1
-rw-r--r--examples/connect.hpp0
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000..4ab084f
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_executable(connect connect.cpp)
+target_link_libraries(connect ftp::ftp)
diff --git a/examples/connect.cpp b/examples/connect.cpp
new file mode 100644
index 0000000..76e8197
--- /dev/null
+++ b/examples/connect.cpp
@@ -0,0 +1 @@
+int main() { return 0; }
diff --git a/examples/connect.hpp b/examples/connect.hpp
deleted file mode 100644
index e69de29..0000000
--- a/examples/connect.hpp
+++ /dev/null