Skip to content

Commit

Permalink
Include Archicad modules with angle brackets.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Nov 7, 2023
1 parent 507535d commit ddf0d5e
Show file tree
Hide file tree
Showing 14 changed files with 342 additions and 338 deletions.
12 changes: 6 additions & 6 deletions Source/APIEnvir.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
#define _APIENVIR_H_

#if defined (_MSC_VER)
#if !defined (WINDOWS)
#define WINDOWS
#endif
#if !defined (WINDOWS)
#define WINDOWS
#endif
#endif

#if defined (WINDOWS)
#include "Win32Interface.hpp"
#include <Win32Interface.hpp>
#endif

#if defined (macintosh)
#include <CoreServices/CoreServices.h>
#include <CoreServices/CoreServices.h>
#endif

#if !defined (ACExtension)
#define ACExtension
#define ACExtension
#endif

#endif
6 changes: 4 additions & 2 deletions Source/AddOnMain.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#include <ACAPinc.h>

#include "APIEnvir.h"
#include "ACAPinc.h"

#include "ResourceIds.hpp"
#include "DGModule.hpp"

#include "DotbimImporter.hpp"
#include "DotbimExporter.hpp"
#include "PropertyHandler.hpp"
#include "ApiUtils.hpp"

#include <DGModule.hpp>

static const GSResID AddOnInfoID = ID_ADDON_INFO;
static const Int32 AddOnNameID = 1;
static const Int32 AddOnDescriptionID = 2;
Expand Down
6 changes: 3 additions & 3 deletions Source/ApiUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include "ApiUtils.hpp"

#if defined(ServerMainVers_2600)
#include "IAttributeReader.hpp"
#include <IAttributeReader.hpp>
#else
#include "AttributeReader.hpp"
#include <AttributeReader.hpp>
#endif

#include "exp.h"
#include <exp.h>

void SetAPIElementType (API_Element& element, API_ElemTypeID elemTypeId)
{
Expand Down
8 changes: 4 additions & 4 deletions Source/ApiUtils.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include "ACAPinc.h"
#include <ACAPinc.h>

#include "Sight.hpp"
#include "Model.hpp"
#include "Model3D/Model3D.hpp"
#include <Sight.hpp>
#include <Model.hpp>
#include <Model3D/Model3D.hpp>

void SetAPIElementType (API_Element& element, API_ElemTypeID elemTypeId);
GS::UniString GetElemTypeName (const API_Elem_Head& elemHead);
Expand Down
Loading

0 comments on commit ddf0d5e

Please sign in to comment.