-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separation of public and private header files #12
Comments
Hi, yes it would be nicer but I personally don't see it as a huge issue that they are all in the same directory. If you want this to be changed, please open a pull request. |
If you consider accepting this style, I will create a PR |
I would also consider this an improvement. Thank you for the suggestion. |
What is the situation on the PR? I could attempt to do this. It seems there are some header dependencies that would probably need to be eliminated. |
Wanted to start with that next week. But if you have the time, be my guest :-) |
I'm sorry, but this proved to be too big of a task for me at this point. I managed to reduce header dependencies, but there is no clear API defined in uvgRTP, which makes it hard to determine which headers are necessary and which are not. In addition, I was not able to remove all the dependencies (in rtcp.hh) which makes it difficult to eliminate those headers. I'll update my changes so far this week. @altonen Do you have a list of which headers are necessary to use the library and which are meant to be internal headers? For example, I sow the need to free the frame using function from frame.hh which I thought was internal. |
I updated the repo with reduced header dependencies. lib.hh now includes all the header files since I didn't know which ones were required. This is basically the same as before because of the header dependencies. |
Awesome, i will take a Look tomorrow. |
I did a minimalistic check of the commit. I would need more time to check if we could do more Improvements. Unfortunately, I am not able to be more thorough at the moment. I still have some comments:
|
I create a separate issue for your comment 2. Comment 1 should be implemented and is related to this issue. |
Merged with #44 |
wouldn't it be nice to separate header files needed externally and those only needed internally?
Maybe put all internal cpp and header files needed only internally together into the src directory and the public header into include/uvgRTP ?
The text was updated successfully, but these errors were encountered: