1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_automation.hxx"
26 
27 
28 #include "profiler.hxx"
29 #include "rcontrol.hxx"
30 #include <basic/ttstrhlp.hxx>
31 
32 struct SysdepProfileSnapshot
33 {
34 	// Hier stehen alle Felder zum Speichern eines Snapshot
35 };
36 
37 
38 struct SysdepStaticData
39 {
40 	// Hier steht alles, was w�hrend des Profiles st�ndig gebraucht wird
41 };
42 
43 
InitSysdepProfiler()44 void TTProfiler::InitSysdepProfiler()
45 {
46 	if ( !pSysDepStatic )	// Sollte immer so sein!!
47 		pSysDepStatic = new SysdepStaticData;
48 	// Hier initialisieren
49 
50 };
51 
DeinitSysdepProfiler()52 void TTProfiler::DeinitSysdepProfiler()
53 {
54 	if ( pSysDepStatic )	// Sollte immer so sein!!
55 	{
56 		// Hier aufr�umen und eventuell Speicher freigeben
57 
58 		delete pSysDepStatic;
59 	}
60 };
61 
NewSysdepSnapshotData()62 SysdepProfileSnapshot *TTProfiler::NewSysdepSnapshotData()
63 {
64 	return new SysdepProfileSnapshot;
65 };
66 
DeleteSysdepSnapshotData(SysdepProfileSnapshot * pSysdepProfileSnapshot)67 void TTProfiler::DeleteSysdepSnapshotData( SysdepProfileSnapshot *pSysdepProfileSnapshot )
68 {
69 	delete pSysdepProfileSnapshot;
70 };
71 
72 
73 // Titelzeile f�r Logdatei
GetSysdepProfileHeader()74 String TTProfiler::GetSysdepProfileHeader()
75 {
76 	return String(CUniString("(noch) keine weiteren Daten Implementiert"));
77 };
78 
79 
80 // Zustand merken
GetSysdepProfileSnapshot(SysdepProfileSnapshot *,sal_uInt16)81 void TTProfiler::GetSysdepProfileSnapshot( SysdepProfileSnapshot *, sal_uInt16 )
82 {};
83 
84 
85 // Informationszeile zusammenbauen
GetSysdepProfileLine(SysdepProfileSnapshot *,SysdepProfileSnapshot *)86 String TTProfiler::GetSysdepProfileLine( SysdepProfileSnapshot *, SysdepProfileSnapshot * )
87 {
88 	return String();
89 };
90 
91 
92 
93