Testing: add missing file
[GitX.git] / PBGitLane.mm
blob2ae767f278b559c48583aab26aaebf0e1def2879
1 //
2 //  PBGitLane.m
3 //  GitX
4 //
5 //  Created by Pieter de Bie on 27-08-08.
6 //  Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import "PBGitLane.h"
10 //class PBGitLane {
11 //      static int s_colorIndex;
12 //      
13 //      char d_sha[20];
14 //      int d_index;
15 //      
16 //public:
17 //      PBGitLane(NSString *sha);
18 //      
19 //      bool isCommit(NSString *sha) const;
20 //      int index(); const;
21 //      
22 //      static resetColors();
23 //};
25 int PBGitLane::s_colorIndex = 0;
27 int PBGitLane::index() const
29         return d_index;
32 void PBGitLane::setSha(git_oid sha)
34         d_sha = sha;
37 void PBGitLane::resetColors()
39         s_colorIndex = 0;