Date: Thu, 29 Sep 2011 12:04:22 +0400
Subject: [PATCH] make all pages valid, add screenshots
---
www/api.html | 22 ++++-----
www/development.html | 4 +-
www/downloads.html | 2 +-
www/images/account-settings.png | Bin 55466 -> 0 bytes
www/images/accounts_eng.png | Bin 0 -> 64859 bytes
www/images/accounts_rus.png | Bin 0 -> 69266 bytes
www/images/add-account.png | Bin 42342 -> 0 bytes
www/images/add_account_eng.png | Bin 0 -> 58334 bytes
www/images/add_account_rus.png | Bin 0 -> 64463 bytes
www/images/albums_eng.png | Bin 0 -> 93051 bytes
www/images/albums_rus.png | Bin 0 -> 96211 bytes
www/images/auth.png | Bin 36363 -> 0 bytes
www/images/download-image-for-show.png | Bin 44503 -> 0 bytes
www/images/friend-albums.png | Bin 107604 -> 0 bytes
www/images/friend-photos.png | Bin 273983 -> 0 bytes
www/images/friend-search.png | Bin 51749 -> 0 bytes
www/images/friends_all_eng.png | Bin 0 -> 76215 bytes
www/images/friends_all_rus.png | Bin 0 -> 76825 bytes
www/images/friends_fl_eng.png | Bin 0 -> 74585 bytes
www/images/friends_fl_rus.png | Bin 0 -> 74359 bytes
www/images/friends_mm_eng.png | Bin 0 -> 77331 bytes
www/images/friends_mm_rus.png | Bin 0 -> 75312 bytes
www/images/friends_search_eng.png | Bin 0 -> 64880 bytes
www/images/friends_search_rus.png | Bin 0 -> 72293 bytes
www/images/friends_vk_eng.png | Bin 0 -> 76888 bytes
www/images/friends_vk_rus.png | Bin 0 -> 76025 bytes
www/images/image-show.png | Bin 448614 -> 0 bytes
www/images/image_download_eng.png | Bin 0 -> 34571 bytes
www/images/image_download_rus.png | Bin 0 -> 38573 bytes
www/images/images_eng.png | Bin 0 -> 222402 bytes
www/images/images_rus.png | Bin 0 -> 223173 bytes
www/images/main-window.png | Bin 65675 -> 0 bytes
www/images/main_menu_eng.png | Bin 0 -> 75983 bytes
www/images/main_menu_rus.png | Bin 0 -> 86985 bytes
www/images/menu.png | Bin 50557 -> 0 bytes
www/images/menu_comments_eng.png | Bin 0 -> 127961 bytes
www/images/menu_comments_rus.png | Bin 0 -> 129293 bytes
www/images/messages_eng.png | Bin 0 -> 62635 bytes
www/images/messages_rus.png | Bin 0 -> 64592 bytes
www/images/network-settings.png | Bin 56888 -> 0 bytes
www/images/profile_eng.png | Bin 0 -> 55262 bytes
www/images/profile_rus.png | Bin 0 -> 59257 bytes
www/images/program-settings.png | Bin 55428 -> 0 bytes
www/images/proxy_eng.png | Bin 0 -> 62395 bytes
www/images/proxy_rus.png | Bin 0 -> 63683 bytes
www/images/settings_eng.png | Bin 0 -> 104435 bytes
www/images/settings_rus.png | Bin 0 -> 100176 bytes
www/images/webauth.png | Bin 0 -> 43254 bytes
www/index.html | 25 ++++------
www/privacy.html | 2 +-
www/sreenshots.html | 81 ++++++++++++++++++++++++++++++++
51 files changed, 106 insertions(+), 30 deletions(-)
delete mode 100644 www/images/account-settings.png
create mode 100755 www/images/accounts_eng.png
create mode 100755 www/images/accounts_rus.png
delete mode 100644 www/images/add-account.png
create mode 100755 www/images/add_account_eng.png
create mode 100755 www/images/add_account_rus.png
create mode 100755 www/images/albums_eng.png
create mode 100755 www/images/albums_rus.png
delete mode 100644 www/images/auth.png
delete mode 100644 www/images/download-image-for-show.png
delete mode 100644 www/images/friend-albums.png
delete mode 100644 www/images/friend-photos.png
delete mode 100644 www/images/friend-search.png
create mode 100755 www/images/friends_all_eng.png
create mode 100755 www/images/friends_all_rus.png
create mode 100755 www/images/friends_fl_eng.png
create mode 100755 www/images/friends_fl_rus.png
create mode 100755 www/images/friends_mm_eng.png
create mode 100755 www/images/friends_mm_rus.png
create mode 100755 www/images/friends_search_eng.png
create mode 100755 www/images/friends_search_rus.png
create mode 100755 www/images/friends_vk_eng.png
create mode 100755 www/images/friends_vk_rus.png
delete mode 100644 www/images/image-show.png
create mode 100755 www/images/image_download_eng.png
create mode 100755 www/images/image_download_rus.png
create mode 100755 www/images/images_eng.png
create mode 100755 www/images/images_rus.png
delete mode 100644 www/images/main-window.png
create mode 100755 www/images/main_menu_eng.png
create mode 100755 www/images/main_menu_rus.png
delete mode 100644 www/images/menu.png
create mode 100755 www/images/menu_comments_eng.png
create mode 100755 www/images/menu_comments_rus.png
create mode 100755 www/images/messages_eng.png
create mode 100755 www/images/messages_rus.png
delete mode 100644 www/images/network-settings.png
create mode 100755 www/images/profile_eng.png
create mode 100755 www/images/profile_rus.png
delete mode 100644 www/images/program-settings.png
create mode 100755 www/images/proxy_eng.png
create mode 100755 www/images/proxy_rus.png
create mode 100755 www/images/settings_eng.png
create mode 100755 www/images/settings_rus.png
create mode 100755 www/images/webauth.png
create mode 100644 www/sreenshots.html
diff --git a/www/api.html b/www/api.html
index aaf0b7c..fe8defe 100644
--- a/www/api.html
+++ b/www/api.html
@@ -1,5 +1,6 @@
-
+
@@ -63,21 +64,20 @@
MySocials driver is provided as a shared library (libmsa<service_name>.so). Structure msa_module *d includes information about the driver (name, identifier, pointers to driver functions). This structure is filled during initialization of the driver.
Driver interface
- Driver interface is described in file interface.h and consists of 4 functions:
+
Driver interface is described in file interface.h and consists of 4 functions:
- msa_module_init(struct msa_module* d) â driver initialization;
- msa_module_get_info(struct msa_module* d) â getting information about driver;
- msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info) â request sending and response receiveing;
- msa_module->shutdown(const struct msa_module*) - driver shutdown.
-
Driver initialization and shutting down
- Driver initialization is performed by using msa_module_init(struct msa_module* d) function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance.
-
+ Driver initialization is performed by using msa_module_init(struct msa_module* d) function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance.
+
Function msa_module->shutdown(const struct msa_module*) is used during program termination.
-
+
Interaction with driver
-
+
Fuction msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info) is used to perform requests to the driver.
Parameter request is a request in XML format. Description of structure of sending and receiveing data is described here.
Parameter response contains driver response in XML format.
@@ -87,7 +87,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
MySocials driver data structures
Here you can see description of data structures which are used by MySocials driver. These structures are declared in mysocials_driver.h file which is available for other applications from mysocials-dev package.
-
+
Enumerations
Error codes
enum error_type {
@@ -167,6 +167,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
Following classes are supported:
+
- settings: class for working with settings
- profile: class for receiving data about user's profile
@@ -177,8 +178,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
- video: class for working with video files
- news: class for working with news
-