Logo Search packages:      
Sourcecode: ion3 version File versions

grouppholder.h

/*
 * ion/ioncore/grouppholder.h
 *
 * Copyright (c) Tuomo Valkonen 2005-2006. 
 *
 * Ion is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 */

#ifndef ION_IONCORE_GROUPPHOLDER_H
#define ION_IONCORE_GROUPPHOLDER_H

#include <ioncore/common.h>
#include <ioncore/pholder.h>
#include "group.h"

INTRCLASS(WGroupPHolder);

DECLCLASS(WGroupPHolder){
    WPHolder ph;
    Watch group_watch;
    Watch stack_above_watch;
    WGroupAttachParams param;
};

extern WGroupPHolder *create_grouppholder(WGroup *group, 
                                          const WStacking *either_st,
                                          const WGroupAttachParams *or_param);

extern bool grouppholder_init(WGroupPHolder *ph, 
                              WGroup *group,
                              const WStacking *either_st,
                              const WGroupAttachParams *or_param);

extern void grouppholder_deinit(WGroupPHolder *ph);

extern bool grouppholder_do_goto(WGroupPHolder *ph);

extern WRegion *grouppholder_do_target(WGroupPHolder *ph);

extern bool grouppholder_do_attach(WGroupPHolder *ph, int flags, 
                                   WRegionAttachData *data);

extern WGroupPHolder *group_managed_get_pholder(WGroup *group, 
                                                WRegion *mgd);

#endif /* ION_IONCORE_GROUPPHOLDER_H */

Generated by  Doxygen 1.6.0   Back to index