general.h (2e3a1b6e) | general.h (9f813b30) |
---|---|
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 --- 29 unchanged lines hidden (view full) --- 38 39//============================================================================= 40// namespace 41 42//----------------------------------------------------------------------------- 43/** will make our code more readable if we can use such short name css instead 44 of typing ::com::sun::star everytimes. 45 | 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 --- 29 unchanged lines hidden (view full) --- 38 39//============================================================================= 40// namespace 41 42//----------------------------------------------------------------------------- 43/** will make our code more readable if we can use such short name css instead 44 of typing ::com::sun::star everytimes. 45 |
46 On the other side we had so many problems with "using namespace" so we dont use | 46 On the other side we had so many problems with "using namespace" so we don't use |
47 it here any longer. 48 */ 49namespace css = ::com::sun::star; 50 51namespace framework { 52 53//----------------------------------------------------------------------------- 54/** status event mapped from load event of frame loader 55 56 @todo think about me 57 should be moved to another more specific place. 58 */ 59static const ::rtl::OUString FEATUREDESCRIPTOR_LOADSTATE = DECLARE_ASCII("loadFinishedOrCancelled"); 60 61//----------------------------------------------------------------------------- | 47 it here any longer. 48 */ 49namespace css = ::com::sun::star; 50 51namespace framework { 52 53//----------------------------------------------------------------------------- 54/** status event mapped from load event of frame loader 55 56 @todo think about me 57 should be moved to another more specific place. 58 */ 59static const ::rtl::OUString FEATUREDESCRIPTOR_LOADSTATE = DECLARE_ASCII("loadFinishedOrCancelled"); 60 61//----------------------------------------------------------------------------- |
62/** Those macro is used to make it more clear where a synchronized block will start. 63 Because normal documentation code wont be recognized by some developers to be real | 62/** This macro is used to make it more clear where a synchronized block will start. 63 Because normal documentation code won't be recognized by some developers to be real |
64 I need something where they are thinking about. 65 66 At least this macro will do nothing ... it's empty. 67 But it should make the code more clear .-)) 68*/ 69#define SYNCHRONIZED_START 70 71//----------------------------------------------------------------------------- 72/** Same then SYNCHRONIZED_START ... but instead it mark the end of such code block. 73*/ 74#define SYNCHRONIZED_END 75 76} // namespace framework 77 78#endif // #ifndef __FRAMEWORK_GENERAL_H_ | 64 I need something where they are thinking about. 65 66 At least this macro will do nothing ... it's empty. 67 But it should make the code more clear .-)) 68*/ 69#define SYNCHRONIZED_START 70 71//----------------------------------------------------------------------------- 72/** Same then SYNCHRONIZED_START ... but instead it mark the end of such code block. 73*/ 74#define SYNCHRONIZED_END 75 76} // namespace framework 77 78#endif // #ifndef __FRAMEWORK_GENERAL_H_ |