Changeset 70110286 for global.c


Ignore:
Timestamp:
May 12, 2009, 11:25:10 PM (16 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
bd783db
Parents:
e1b136bf
Message:
Implement mark and swap.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r0cb6c26 r70110286  
    199199}
    200200
     201/* markedmsgid */
     202
     203int owl_global_get_markedmsgid(owl_global *g) {
     204  return(g->markedmsgid);
     205}
     206
     207void owl_global_set_markedmsgid(owl_global *g, int i) {
     208  g->markedmsgid=i;
     209  /* i; index of message in the current view.
     210  owl_message *m;
     211  owl_view *v;
     212
     213  v = owl_global_get_current_view(&g);
     214  m = owl_view_get_element(v, i);
     215  g->markedmsgid = m ? owl_message_get_id(m) : 0;
     216  */
     217}
     218
    201219/* windows */
    202220
Note: See TracChangeset for help on using the changeset viewer.