Permalink
Browse files

First commit. Only browsing through filesystem is suppported. No file…

… opening yet.
  • Loading branch information...
0 parents commit 3341339f32907be918b6b61d901eb891ffecd2b8 @JonathanBeck committed Apr 22, 2010
Showing with 1,383 additions and 0 deletions.
  1. +3 −0 BUGS
  2. +23 −0 CMakeLists.txt
  3. +346 −0 COPYING
  4. 0 ChangeLog
  5. +2 −0 Messages.sh
  6. +16 −0 afc.protocol
  7. +380 −0 afcdevice.cpp
  8. +58 −0 afcdevice.h
  9. +38 −0 afcpath.cpp
  10. +29 −0 afcpath.h
  11. +49 −0 cmake/modules/Findlibimobiledevice.cmake
  12. +368 −0 kio_afc.cpp
  13. +71 −0 kio_afc.h
3 BUGS
@@ -0,0 +1,3 @@
+There is no known bugs at the moment.
+
+If you find one, please report at http://libiphone.lighthouseapp.com/projects/27916-libiphone/overview with the kio_afc tag
@@ -0,0 +1,23 @@
+
+if (NOT KDE4_FOUND)
+ find_package(KDE4 REQUIRED)
+ include(KDE4Defaults)
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+ include_directories(${KDE4_INCLUDES})
+endif (NOT KDE4_FOUND)
+
+SET( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_SOURCE_DIR}/cmake/modules )
+FIND_PACKAGE( libimobiledevice REQUIRED )
+
+set(kio_man_PART_SRCS
+ kio_afc.cpp
+ afcdevice.cpp
+ afcpath.cpp)
+
+kde4_add_plugin(kio_afc ${kio_man_PART_SRCS})
+
+target_link_libraries(kio_afc ${KDE4_KIO_LIBS} ${libimobiledevice_LIBRARIES})
+
+install(TARGETS kio_afc DESTINATION ${PLUGIN_INSTALL_DIR})
+
+install(FILES afc.protocol DESTINATION ${SERVICES_INSTALL_DIR})
346 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
No changes.
@@ -0,0 +1,2 @@
+#! /usr/bin/env bash
+$XGETTEXT *.cpp -o $podir/kio_afc.pot
@@ -0,0 +1,16 @@
+[Protocol]
+exec=kio_afc
+protocol=afc
+input=none
+output=filesystem
+listing=Access,Size,Date,Name,Type
+reading=true
+writing=true
+makedir=true
+deleting=true
+linking=true
+moving=true
+opening=true
+deleteRecursive=true
+maxInstances=50
+X-DocPath=kioslave/afc/index.html
Oops, something went wrong.

0 comments on commit 3341339

Please sign in to comment.