Changeset 4303
- Timestamp:
- 04/03/08 12:28:43 (5 years ago)
- Location:
- trunk/src/target/OM-2007.2/applications/openmoko-messages2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
src/test-notes.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/OM-2007.2/applications/openmoko-messages2/ChangeLog
r4300 r4303 1 2008-04-03 Thomas Wood <thomas@openedhand.com> 2 3 * src/test-notes.c: (main): Add optional message and author command line 4 parameters 5 1 6 2008-04-02 Thomas Wood <thomas@openedhand.com> 2 7 -
trunk/src/target/OM-2007.2/applications/openmoko-messages2/src/test-notes.c
r4299 r4303 26 26 JanaNote *note; 27 27 JanaStore *store; 28 gchar *number = "0123456789"; 29 gchar *body = "Test Message"; 28 30 29 31 g_type_init (); 32 33 if (argc >= 2) 34 number = argv[1]; 35 36 if (argc >= 3) 37 body = argv[2]; 30 38 31 39 store = jana_ecal_store_new (JANA_COMPONENT_NOTE); … … 33 41 34 42 note = jana_ecal_note_new (); 35 jana_note_set_author (note, "0123456789");36 jana_note_set_body (note, "Test Message");43 jana_note_set_author (note, number); 44 jana_note_set_body (note, body); 37 45 38 46 jana_store_add_component (store, JANA_COMPONENT (note));
Note: See TracChangeset
for help on using the changeset viewer.
