2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
24 /*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
25 /*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
26 /*%% (c) Copyright 1993, 1994 Novell, Inc. */
27 /*%% $XConsortium: mp_c_mp.h /main/5 1995/11/28 19:27:40 cde-sun $ */
32 * Copyright (c) 1992 by Sun Microsystems, Inc.
34 * This file declares the _Tt_c_mp object which represents the client-only
35 * global information for the MP component. There should only be one instance
36 * of a _Tt_mp object in either server or client mode.
42 #include "mp/mp_c_session_utils.h"
43 #include "mp/mp_c_procid_utils.h"
45 class _Tt_c_mp : public _Tt_mp {
50 Tt_status set_default_procid(_Tt_string id,
52 _Tt_procid_ptr &default_procid();
53 _Tt_c_procid_ptr &default_c_procid();
54 Tt_status create_new_procid();
55 Tt_status c_remove_procid(_Tt_procid_ptr &proc);
56 _Tt_c_session_ptr initial_c_session;
59 void set_multithreaded();
62 _Tt_c_session_ptr default_c_session;
65 _Tt_c_procid_ptr _default_c_procid;
68 #endif /* _MP_C_MP_H */