mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 517078. Move 'using namespace' out of header files, per comment from roc.
--HG-- extra : rebase_source : a67c25de3a53131df3e7dd68c0ae4209f496ea58
This commit is contained in:
parent
dbad0b0f5d
commit
3b1bf36d73
@ -43,6 +43,8 @@
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define PLUGIN_NAME "Test Plug-in"
|
||||
#define PLUGIN_DESCRIPTION "Plug-in for testing purposes."
|
||||
#define PLUGIN_VERSION "1.0.0.0"
|
||||
|
@ -43,8 +43,6 @@
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef enum {
|
||||
DM_DEFAULT,
|
||||
DM_SOLID_COLOR
|
||||
@ -103,9 +101,9 @@ typedef struct InstanceData {
|
||||
TestFunction functionToFail;
|
||||
NPError failureCode;
|
||||
PostMode postMode;
|
||||
string testUrl;
|
||||
string frame;
|
||||
ostringstream err;
|
||||
std::string testUrl;
|
||||
std::string frame;
|
||||
std::ostringstream err;
|
||||
uint16_t streamMode;
|
||||
int32_t streamChunkSize;
|
||||
int32_t streamBufSize;
|
||||
|
@ -42,6 +42,8 @@
|
||||
#endif
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
struct _PlatformData {
|
||||
Display* display;
|
||||
GtkWidget* plug;
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include "nptest_platform.h"
|
||||
#include <CoreServices/CoreServices.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
#ifdef __LP64__
|
||||
// 64-bit requires the Cocoa event model
|
||||
#define USE_COCOA_NPAPI 1
|
||||
|
@ -33,6 +33,8 @@
|
||||
|
||||
#include "nptest_platform.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
bool
|
||||
pluginSupportsWindowMode()
|
||||
{
|
||||
|
@ -118,6 +118,6 @@ int32_t pluginGetClipRegionRectEdge(InstanceData* instanceData,
|
||||
* Just return if everything is OK, otherwise append error messages
|
||||
* to 'error' separated by \n.
|
||||
*/
|
||||
void pluginDoInternalConsistencyCheck(InstanceData* instanceData, string& error);
|
||||
void pluginDoInternalConsistencyCheck(InstanceData* instanceData, std::string& error);
|
||||
|
||||
#endif // nptest_platform_h_
|
||||
|
@ -33,6 +33,8 @@
|
||||
|
||||
#include "nptest_platform.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
bool
|
||||
pluginSupportsWindowMode()
|
||||
{
|
||||
|
@ -37,6 +37,8 @@
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
#pragma comment(lib, "msimg32.lib")
|
||||
|
||||
void SetSubclass(HWND hWnd, InstanceData* instanceData);
|
||||
|
Loading…
Reference in New Issue
Block a user