~ubuntu-branches/ubuntu/quantal/mysql-workbench/quantal

« back to all changes in this revision

Viewing changes to plugins/db.mysql/backend/db_mysql_public_interface.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2012-03-01 21:57:30 UTC
  • Revision ID: package-import@ubuntu.com-20120301215730-o7y8av8y38n162ro
Tags: upstream-5.2.38+dfsg
ImportĀ upstreamĀ versionĀ 5.2.38+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _MYSQL_DB_PUBLIC_INTERFACE_H_
 
2
#define _MYSQL_DB_PUBLIC_INTERFACE_H_
 
3
 
 
4
#ifdef _WIN32
 
5
 
 
6
#ifdef WBPLUGINDBMYSQLBE_EXPORTS
 
7
#define WBPLUGINDBMYSQLBE_PUBLIC_FUNC __declspec(dllexport)
 
8
#else
 
9
#define WBPLUGINDBMYSQLBE_PUBLIC_FUNC __declspec(dllimport)
 
10
#endif
 
11
 
 
12
#else
 
13
#define WBPLUGINDBMYSQLBE_PUBLIC_FUNC
 
14
#endif
 
15
 
 
16
#include <string>
 
17
#include <map>
 
18
 
 
19
#include "grts/structs.db.mysql.h"
 
20
 
 
21
typedef std::map<std::string, GrtNamedObjectRef> CatalogMap;
 
22
 
 
23
WBPLUGINDBMYSQLBE_PUBLIC_FUNC 
 
24
void update_all_old_names(db_mysql_CatalogRef cat, bool update_only_empty, CatalogMap& map);
 
25
 
 
26
WBPLUGINDBMYSQLBE_PUBLIC_FUNC
 
27
void build_catalog_map(db_mysql_CatalogRef catalog, CatalogMap& map);
 
28
 
 
29
#endif // _MYSQL_DB_PUBLIC_INTERFACE_H_