summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/constants.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-21 23:55:12 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-21 23:55:12 +0000
commit5b45218994ffaafc8f0a787eaa425029c37183c3 (patch)
tree99e65254d67db81f5590e6dff04a7363bcc548e9 /protocols/FacebookRM/src/constants.h
parentb8d8fdaf9111b962a11a02ce21647f5fb5495b26 (diff)
Facebook: Mind dialog improvements: added toolbar button, privacy and place settings. Version bump.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/constants.h')
-rw-r--r--protocols/FacebookRM/src/constants.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h
index 34940132e1..b66bf6aaac 100644
--- a/protocols/FacebookRM/src/constants.h
+++ b/protocols/FacebookRM/src/constants.h
@@ -121,11 +121,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define FACEBOOK_CONTACT_REQUEST 3 // contact that we asked for friendship
#define FACEBOOK_CONTACT_APPROVE 4 // contact that is asking us for approval of friendship
-// News Feed types
-static const struct {
+typedef struct {
const char *name;
const char *id;
-} feed_types[] = {
+} ttype;
+
+// News Feed types
+static const ttype feed_types[] = {
{ LPGEN("Most Recent"), "lf_" }, //h_chr?
{ LPGEN("Wall Posts"), "app_2915120374" },
{ LPGEN("Top News"), "h_nor" }, //h
@@ -134,11 +136,16 @@ static const struct {
{ LPGEN("Apps and Games"), "appsandgames" },
};
-static const struct {
- const char *id;
- const char *name;
-} server_types[] = {
- { "www.facebook.com", LPGEN("Classic website") },
- { "m.facebook.com", LPGEN("Mobile website") },
- { "touch.facebook.com", LPGEN("Smartphone website") },
+// Server types
+static const ttype server_types[] = {
+ { LPGEN("Classic website"), "www.facebook.com" },
+ { LPGEN("Mobile website"), "m.facebook.com" },
+ { LPGEN("Smartphone website"), "touch.facebook.com" },
+};
+
+// Status privacy types
+static const ttype privacy_types[] = {
+ { LPGEN("For everyone"), "80" },
+ { LPGEN("For friends"), "40" },
+ { LPGEN("Only for me"), "10" },
}; \ No newline at end of file