Comments (8)
In order to help design the API for this request, can you please provide some example use cases for this feature?
from unrarkit.
https://github.com/fishman/rar_expander/blob/master/RarExpander.mm
It handles UCM_CHANGEVOLUME
. I can't find an info what does this code do but my project uses this event too. But anyways I could copy it "as is" because UnrarKit doesn't handle this event at all
from unrarkit.
Thanks, that link's helpful, but I'd still like to know how you plan to use the feature. Why is that event useful to you?
from unrarkit.
Sorry but I can't post my code. The only thing I can say is it handles something like error and in some cases returns -1 (failure) but the default implementation (including UnrarKit) always returns 0 even doesn't allow to handle this event without editing of the library's sources
from unrarkit.
I'm not asking you to post code, I only mean why do you need this feature? Why is the UCM_CHANGEVOLUME
event important to you? I'm looking for an explanation, not code.
As an example, for your other feature request, the answer could be "Because I'd like to show users of my app how much space a file will take up, so they can decide whether or not to extract it". I didn't ask for a use case for that feature, because I could picture use cases on my own. I don't currently see what you would use that callback for, so I'm asking you to help me understand.
from unrarkit.
@gerchicov-bp I've addressed your other feature request. If you're able to help me understand this request better, I can include this along with it on the next release.
from unrarkit.
anyways I've already created a block which is called inside this static callback method but this block is defined as public and I can always override/redefine it.
from unrarkit.
Ok, feel free to submit a pull request to share back your contribution. I'm going to close this now - let me know if there's anything else I can do to help.
from unrarkit.
Related Issues (20)
- performOnDataInArchive needs too much RAM
- Building for iOS, but the linked and embedded framework 'UnrarKit.framework' HOT 1
- Not able to build XCFramework in Swift Package Manager with Mac Catalyst support HOT 6
- Does not support Mac Catalyst HOT 2
- Error resolving bookmark to RAR archive: Error Domain=NSCocoaErrorDomain Code=4 "The file doesnโt exist."
- Version 2.10 has unrar version that fails frequently "Archive has a corrupt header", but v2.11 branch not
- Including the Apple Privacy manifest file HOT 2
- Need a lazy way to iterate files HOT 6
- Allowing cancellation directly from extractFiles in middle of a file HOT 5
- Upgrade unrar library to v5.6.3 HOT 1
- Cannot decrease the verbosity of logging HOT 16
- Ability to check/test/repair corrupted header files HOT 6
- Allow ignoring of invalid CRCs in archive header
- Upgrade unrar library to v5.8.1
- Unhandled exception in +pathIsARAR:
- Ability to quick extract individual entry data without iterate through the entry list HOT 7
- Add support for Swift package manager HOT 7
- Realm and UnrarKit both have a list.hpp header HOT 10
- arm 64 support HOT 1
- About Unexpected end of archive and Corrupt header HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrarkit.