Skip to content

Commit bc6e4fc

Browse files
committed
Fixed Linux Library inclusions
1 parent 032c7ce commit bc6e4fc

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Linux/src/lib/fileParser.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <string>
66
#include <fstream>
77

8-
#include "objects.h"
8+
#include "objects.hh"
99

1010
std::vector<std::string> tokenize(std::string path)
1111
{
@@ -145,4 +145,4 @@ void parse(std::vector<std::string> tokens)
145145
}
146146
}
147147
printf("[OK]: Finished Parsing\n");
148-
}
148+
}

Linux/src/lib/globals.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <map>
44
#include <string>
55

6-
#include "objects.h"
6+
#include "objects.hh"
77

88
struct Global
99
{
@@ -26,4 +26,4 @@ struct Global
2626
static SDL_Color* _DEFAULTTEXTCOLOR;
2727
static std::string _BACKGROUND;
2828
static std::string _DEFAULTBACKGROUND;
29-
};
29+
};

Linux/src/lib/imageGenerator.hh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <SDL2/SDL_image.h>
55
#include <SDL2/SDL_ttf.h>
66

7-
#include "objects.h"
8-
#include "globals.h"
7+
#include "objects.hh"
8+
#include "globals.hh"
99

1010
SDL_Surface* generateSurface(int slide)
1111
{
@@ -191,4 +191,4 @@ SDL_Surface* generateSurface(int slide)
191191
void saveImage(SDL_Surface* surface, std::string path)
192192
{
193193
IMG_SavePNG(surface, path.c_str());
194-
}
194+
}

Linux/src/main.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include <iostream>
22

3-
#include "lib/globals.h"
4-
#include "lib/fileParser.h"
5-
#include "lib/imageGenerator.h"
6-
#include "lib/pdfCreator.h"
3+
#include "lib/globals.hh"
4+
#include "lib/fileParser.hh"
5+
#include "lib/imageGenerator.hh"
6+
#include "lib/pdfCreator.hh"
77

88
//Initialize all global variables
99
std::string Global::_VERSIONSTRING = "BitPresent v1.1.0";
@@ -119,4 +119,4 @@ int main(int argc, char* argv[])
119119
printf("[FINISHED]: Done creating presentation\n");
120120

121121
return 0;
122-
}
122+
}

0 commit comments

Comments
 (0)