Skip to content

Commit

Permalink
Merge pull request #1129 from mrolappe/darlingserver-stubs-InstantMes…
Browse files Browse the repository at this point in the history
…sage

InstantMessage framework stubs
  • Loading branch information
facekapow authored Apr 4, 2022
2 parents d3fe242 + 372de9f commit 28dfb32
Show file tree
Hide file tree
Showing 35 changed files with 1,000 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/frameworks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ add_subdirectory(GameController)
add_subdirectory(GLKit)
add_subdirectory(ImageIO)
add_subdirectory(InputMethodKit)
add_subdirectory(InstantMessage)
add_subdirectory(IOBluetooth)
add_subdirectory(IOSurface)
add_subdirectory(JavaRuntimeSupport)
Expand Down
33 changes: 33 additions & 0 deletions src/frameworks/InstantMessage/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
project(InstantMessage)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "800.0.0")

add_framework(InstantMessage
FAT
CURRENT_VERSION
VERSION "A"

SOURCES
src/InstantMessage.m
src/IMAuxVideoProvider.m
src/IMSharedPixelBufferPool.m
src/_IMVideoDataSource.m
src/IMAVManagerImpl.m
src/IMAVManager.m
src/IMAVControlBarImpl.m
src/IMAVControlBar.m
src/_IMAVControlAuxiliary.m
src/_IMAVButtonAuxiliary.m
src/_IMAVSliderAuxiliary.m
src/IMAVControl.m
src/IMAVButton.m
src/IMAVSlider.m
src/IMService.m
src/iChatTheaterXPC.m

DEPENDENCIES
system
objc
Foundation
)
24 changes: 24 additions & 0 deletions src/frameworks/InstantMessage/include/InstantMessage/IMAVButton.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVButton : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/InstantMessage/include/InstantMessage/IMAVControl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVControl : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVControlBar : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVControlBarImpl : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/InstantMessage/include/InstantMessage/IMAVManager.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVManager : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVManagerImpl : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/InstantMessage/include/InstantMessage/IMAVSlider.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAVSlider : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMAuxVideoProvider : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/InstantMessage/include/InstantMessage/IMService.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMService : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface IMSharedPixelBufferPool : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/


#ifndef _InstantMessage_H_
#define _InstantMessage_H_

#import <Foundation/Foundation.h>

#import <InstantMessage/IMAuxVideoProvider.h>
#import <InstantMessage/IMAuxVideoProvider.h>
#import <InstantMessage/IMSharedPixelBufferPool.h>
#import <InstantMessage/_IMVideoDataSource.h>
#import <InstantMessage/IMAVManagerImpl.h>
#import <InstantMessage/IMAVManager.h>
#import <InstantMessage/IMAVControlBarImpl.h>
#import <InstantMessage/IMAVControlBar.h>
#import <InstantMessage/_IMAVControlAuxiliary.h>
#import <InstantMessage/_IMAVButtonAuxiliary.h>
#import <InstantMessage/_IMAVSliderAuxiliary.h>
#import <InstantMessage/IMAVControl.h>
#import <InstantMessage/IMAVButton.h>
#import <InstantMessage/IMAVSlider.h>
#import <InstantMessage/IMService.h>
#import <InstantMessage/iChatTheaterXPC.h>

void* IMComparePersonStatus(void);
void* IMServiceAgentClass(void);
void* IMServiceImplClass(void);

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface _IMAVButtonAuxiliary : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface _IMAVControlAuxiliary : NSObject

@end
Loading

0 comments on commit 28dfb32

Please sign in to comment.